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
+2 -1
View File
@@ -11,7 +11,8 @@ namespace West.Entertainment.Handler.Fun
public class Python : AbstractAnimationReply
{
protected override Regex AnimationMatch =>
new("питон|пайтон|python|путхон|питухон|петухон", RegexOptions.IgnoreCase);
new("питон|пайтон|python|путхон|питухон|петухон",
RegexOptions.CultureInvariant | RegexOptions.IgnoreCase);
protected override string GetAnimationName()
=> "python";