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