Make Regex case insensitive
This commit is contained in:
1 parent
9674503170
commit
70b5f980f0
1 file changed
+1
-1
@@ -17,7 +17,7 @@ public class ChatFilter {
|
||||
this.name = name;
|
||||
this.filterType = FilterType.getType(type);
|
||||
this.regex = regex;
|
||||
this.pattern = Pattern.compile(getRegex());
|
||||
this.pattern = Pattern.compile(getRegex(), Pattern.CASE_INSENSITIVE);
|
||||
this.replacement = replacement;
|
||||
this.exclusions = exclusions;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user