Merge remote-tracking branch 'upstream/dev'

This commit is contained in:
thororen1234 2024-06-28 11:11:13 -04:00
commit 2518ef3828
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ const settings = definePluginSettings({
});
function stringToRegex(str: string) {
const match = str.match(/^(\/)?(.+?)(?:\/([gimsuy]*))?$/); // Regex to match regex
const match = str.match(/^(\/)?(.+?)(?:\/([gimsuyv]*))?$/); // Regex to match regex
return match
? new RegExp(
match[2], // Pattern