mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
More lenient CD.I pattern
This commit is contained in:
parent
109f823bfb
commit
e4ed235c55
@ -165,7 +165,7 @@ public class OpenSubtitlesXmlRpc {
|
||||
return null;
|
||||
}
|
||||
|
||||
private static final Pattern CDI_PATTERN = Pattern.compile("(?<!\\p{Alnum})CD(?<i>[1-9])(?!\\p{Digit})", Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CHARACTER_CLASS);
|
||||
private static final Pattern CDI_PATTERN = Pattern.compile("(?<!\\p{Alnum})CD\\D?(?<i>[1-9])(?!\\p{Digit})", Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CHARACTER_CLASS);
|
||||
|
||||
private Map<String, Object> getUploadStruct(BaseInfo baseInfo, SubFile... subtitles) {
|
||||
Map<String, Object> struct = new LinkedHashMap<String, Object>();
|
||||
|
Loading…
Reference in New Issue
Block a user