[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
commit 048339a6aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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()}`;