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

@ -1,7 +1,7 @@
{ {
"name": "vencord", "name": "vencord",
"private": "true", "private": "true",
"version": "1.9.2", "version": "1.9.3",
"description": "The other cutest Discord client mod", "description": "The other cutest Discord client mod",
"homepage": "https://github.com/Equicord/Equicord#readme", "homepage": "https://github.com/Equicord/Equicord#readme",
"bugs": { "bugs": {

View file

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