RED-3061: Logic for value matcher for initials expansion rule is inverted

This commit is contained in:
aoezyetimoglu 2021-12-10 10:10:07 +01:00
parent 4f51ef16ed
commit 3329773315

View File

@ -208,7 +208,7 @@ public class Section {
if (compiledValuePattern != null) { if (compiledValuePattern != null) {
Matcher matcherCompiledValuePattern = compiledValuePat.matcher(entity.getWord()); Matcher matcherCompiledValuePattern = compiledValuePat.matcher(entity.getWord());
if (!matcherCompiledValuePattern.find()) { if (!matcherCompiledValuePattern.matches()) {
continue; continue;
} }
} }