mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
add support for \W, \S, \D
This commit is contained in:
@@ -100,3 +100,5 @@
|
||||
| tst.js:149:15:149:24 | (\\s\|[\\f])* | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of '\u000c'. |
|
||||
| tst.js:152:15:152:28 | (\\s\|[\\v]\|\\\\v)* | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of '\u000b'. |
|
||||
| tst.js:155:15:155:24 | (\\f\|[\\f])* | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of '\u000c'. |
|
||||
| tst.js:158:15:158:22 | (\\W\|\\D)* | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of '!'. |
|
||||
| tst.js:161:15:161:22 | (\\S\|\\w)* | This part of the regular expression may cause exponential backtracking on strings containing many repetitions of '0'. |
|
||||
|
||||
@@ -152,4 +152,10 @@ var bad33 = /((\s|[\f])*)"/;
|
||||
var bad34 = /((\s|[\v]|\\v)*)"/;
|
||||
|
||||
// NOT GOOD
|
||||
var bad35 = /((\f|[\f])*)"/;
|
||||
var bad35 = /((\f|[\f])*)"/;
|
||||
|
||||
// NOT GOOD
|
||||
var bad36 = /((\W|\D)*)"/;
|
||||
|
||||
// NOT GOOD
|
||||
var bad37 = /((\S|\w)*)"/;
|
||||
Reference in New Issue
Block a user