From 3f63ba50688183c0bf32f33fa521ff36ea1ba40d Mon Sep 17 00:00:00 2001 From: ZypherusKhan <188088240+ZypherusKhan@users.noreply.github.com> Date: Mon, 25 May 2026 20:29:52 +0530 Subject: [PATCH] make regex case sensitive by default (#621) --- Modules/TemplateManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/TemplateManager.cs b/Modules/TemplateManager.cs index dece375cc..9962b64a8 100644 --- a/Modules/TemplateManager.cs +++ b/Modules/TemplateManager.cs @@ -161,7 +161,7 @@ public static class TemplateManager try { - Regex rx = new(pattern, RegexOptions.Compiled | RegexOptions.IgnoreCase, TimeSpan.FromMilliseconds(100)); + Regex rx = new(pattern, RegexOptions.Compiled, TimeSpan.FromMilliseconds(100)); RegexCache[pattern] = rx; return rx; }