diff options
author | KPidS <WKPidS@gmail.com> | 2022-05-04 12:01:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 12:01:42 +0300 |
commit | 05b582788fa7c2cf371d8f53e1aef5fc17b9f013 (patch) | |
tree | 25246dad519a192dbd13fab744e8da7034caf4fa /defaults/src/main/java/shcm/shsupercm | |
parent | ffa0e186440249e1657268d036ec3036974b9fe9 (diff) | |
download | CITResewn-05b582788fa7c2cf371d8f53e1aef5fc17b9f013.tar.gz CITResewn-05b582788fa7c2cf371d8f53e1aef5fc17b9f013.tar.bz2 CITResewn-05b582788fa7c2cf371d8f53e1aef5fc17b9f013.zip |
Fix iregex case insensetive not working with cyrillic characters
Diffstat (limited to 'defaults/src/main/java/shcm/shsupercm')
-rw-r--r-- | defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/conditions/ConditionNBT.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/conditions/ConditionNBT.java b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/conditions/ConditionNBT.java index 09ae08e..ba73439 100644 --- a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/conditions/ConditionNBT.java +++ b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/conditions/ConditionNBT.java @@ -226,7 +226,7 @@ public class ConditionNBT extends CITCondition { public static class IRegexMatcher extends RegexMatcher { public IRegexMatcher(String pattern) { - super(Pattern.compile(pattern, Pattern.CASE_INSENSITIVE)); + super(Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE)); } } |