* keyword blacklisting in MediaBindingBean should take care of group mismatches. No need to do that in the group regex (which checks for moviename yyyy pattern).
This commit is contained in:
parent
7e791f7544
commit
2b4204e76f
|
@ -276,7 +276,7 @@ public class ReleaseInfo {
|
||||||
|
|
||||||
public Pattern getReleaseGroupPattern(boolean strict) throws IOException {
|
public Pattern getReleaseGroupPattern(boolean strict) throws IOException {
|
||||||
// pattern matching any release group name enclosed in separators
|
// pattern matching any release group name enclosed in separators
|
||||||
return compile("(?<!\\p{Alnum})(" + join(releaseGroupResource.get(), "|") + ")(?!\\p{Alnum}|[^\\p{Alnum}]\\d{4})", strict ? 0 : CASE_INSENSITIVE | UNICODE_CHARACTER_CLASS);
|
return compile("(?<!\\p{Alnum})(" + join(releaseGroupResource.get(), "|") + ")(?!\\p{Alnum})", strict ? 0 : CASE_INSENSITIVE | UNICODE_CHARACTER_CLASS);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Pattern getBlacklistPattern() throws IOException {
|
public Pattern getBlacklistPattern() throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue