[bugfix] Use re2 syntax for regex validation (#2978)

This commit is contained in:
tobi
2024-06-08 14:32:28 +02:00
committed by GitHub
parent ce3b8aacf7
commit 048339a6aa
4 changed files with 12 additions and 5 deletions

View File

@@ -154,7 +154,7 @@ function PermDeets({
// with this regular expression prepopulated.
const testParams = new URLSearchParams();
testParams.set("regex", perm.regex);
testParams.set("flags", "g");
testParams.set("flags", "gm");
testParams.set("testString", testString);
const regexLink = `https://regex101.com/?${testParams.toString()}`;