This commit is contained in:
naskya 2023-05-05 12:49:34 +09:00
parent 95f04a1c3c
commit 86dc71b201
No known key found for this signature in database
GPG Key ID: 164DFF24E2D40139
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ function checkWordMute(
}
try {
if (new RegExp(regexp[1], regexp[2]).test(text)) return true;
if (new RE2(regexp[1], regexp[2]).test(text)) return true;
} catch (err) {
// This should never happen due to input sanitisation.
}