From 4705791756924f5ddf82ce8fd11b5f835156ff81 Mon Sep 17 00:00:00 2001 From: Inbestigator <119569726+Inbestigator@users.noreply.github.com> Date: Thu, 20 Feb 2025 22:24:42 -0800 Subject: [PATCH] Updated regex --- src/plugins/betterBanReasons/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/betterBanReasons/index.tsx b/src/plugins/betterBanReasons/index.tsx index 38ea94dd0..efa54d9f7 100644 --- a/src/plugins/betterBanReasons/index.tsx +++ b/src/plugins/betterBanReasons/index.tsx @@ -78,7 +78,7 @@ export default definePlugin({ { find: "#{intl::BAN_MULTIPLE_CONFIRM_TITLE}", replacement: [{ - match: /\[(\{((?:name|value):\i\.intl\.string\(\i\.\i\.[A-Za-z0-9]+\),?){2}\},?){3}\]/, + match: /\[(\{((name|value):\i\.\i\.string\(\i\.\i\.\i\),?){2}\},?){3}\]/, replace: "$self.getReasons()" }, {