Updated regex

This commit is contained in:
Inbestigator 2025-02-20 22:24:42 -08:00 committed by GitHub
parent 42b0f46e77
commit 4705791756
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,7 @@ export default definePlugin({
{ {
find: "#{intl::BAN_MULTIPLE_CONFIRM_TITLE}", find: "#{intl::BAN_MULTIPLE_CONFIRM_TITLE}",
replacement: [{ 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()" replace: "$self.getReasons()"
}, },
{ {