mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 03:12:24 -05:00
[bugfix] Use re2 syntax for regex validation (#2978)
This commit is contained in:
parent
ce3b8aacf7
commit
048339a6aa
4 changed files with 12 additions and 5 deletions
|
|
@ -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()}`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue