mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
JS: Extract RegExp ASTs from string literals
This commit is contained in:
@@ -815,7 +815,7 @@ regexpterm (unique int id: @regexpterm,
|
||||
int idx: int ref,
|
||||
varchar(900) tostring: string ref);
|
||||
|
||||
@regexpparent = @regexpterm | @regexpliteral;
|
||||
@regexpparent = @regexpterm | @regexpliteral | @stringliteral;
|
||||
|
||||
case @regexpterm.kind of
|
||||
0 = @regexp_alt
|
||||
|
||||
Reference in New Issue
Block a user