aboutsummaryrefslogtreecommitdiff
path: root/defaults
diff options
context:
space:
mode:
authorKPidS <WKPidS@gmail.com>2022-05-04 12:01:42 +0300
committerGitHub <noreply@github.com>2022-05-04 12:01:42 +0300
commit05b582788fa7c2cf371d8f53e1aef5fc17b9f013 (patch)
tree25246dad519a192dbd13fab744e8da7034caf4fa /defaults
parentffa0e186440249e1657268d036ec3036974b9fe9 (diff)
downloadCITResewn-05b582788fa7c2cf371d8f53e1aef5fc17b9f013.tar.gz
CITResewn-05b582788fa7c2cf371d8f53e1aef5fc17b9f013.tar.bz2
CITResewn-05b582788fa7c2cf371d8f53e1aef5fc17b9f013.zip
Fix iregex case insensetive not working with cyrillic characters
Diffstat (limited to 'defaults')
-rw-r--r--defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/conditions/ConditionNBT.java2
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));
}
}