This commit is contained in:
stom79 2019-01-21 11:59:53 +01:00
parent 0b4761b7c4
commit 8af99cc4d0
1 changed files with 2 additions and 0 deletions

View File

@ -3123,6 +3123,8 @@ public class Helper {
return false;
} else {
try {
if( mfilter.getPhrase().contains("#"))
mfilter.setPhrase(mfilter.getPhrase().replaceAll("\\#", "\\#"));
Pattern filterPattern = Pattern.compile("(" + mfilter.getPhrase() + ")", Pattern.CASE_INSENSITIVE);
Matcher matcher = filterPattern.matcher(content);
if (matcher.find())