* 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:
Reinhard Pointner 2015-04-28 15:06:47 +00:00
parent 7e791f7544
commit 2b4204e76f
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ public class ReleaseInfo {
public Pattern getReleaseGroupPattern(boolean strict) throws IOException {
// 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 {