JS: Restrict semi-anchored regex query more

This commit is contained in:
Asger F
2019-10-18 09:59:34 +01:00
parent 0726bd8cac
commit 3e952cf564
2 changed files with 5 additions and 3 deletions

View File

@@ -34,7 +34,7 @@
/^good\\\\.com|better\\\\.com/; // NOT OK
/^foo|bar|baz$/; // NOT OK
/^foo|%/; // OK
});
(function coreString() {