mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
JS: Restrict semi-anchored regex query more
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
/^good\\\\.com|better\\\\.com/; // NOT OK
|
||||
|
||||
/^foo|bar|baz$/; // NOT OK
|
||||
|
||||
/^foo|%/; // OK
|
||||
});
|
||||
|
||||
(function coreString() {
|
||||
|
||||
Reference in New Issue
Block a user