Yet another attempt to fix case insensitive matching.

This commit is contained in:
West14
2022-01-03 15:17:11 +02:00
parent e5d3d7d15d
commit 3261d613d0
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ namespace West.Entertainment.Handler.Fun
public Bayan(CoreContext db) : base(db) { }
protected override Regex AnimationMatch
=> new("^баян$", RegexOptions.IgnoreCase);
=> new("^баян$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase);
protected override string GetAnimationName()
=> "bayan";