From 05b582788fa7c2cf371d8f53e1aef5fc17b9f013 Mon Sep 17 00:00:00 2001 From: KPidS Date: Wed, 4 May 2022 12:01:42 +0300 Subject: Fix iregex case insensetive not working with cyrillic characters --- .../fabric/citresewn/defaults/cit/conditions/ConditionNBT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } -- cgit