mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
extract regexp literals from string concatenations
This commit is contained in:
@@ -855,7 +855,7 @@ regexpterm (unique int id: @regexpterm,
|
||||
int idx: int ref,
|
||||
varchar(900) tostring: string ref);
|
||||
|
||||
@regexpparent = @regexpterm | @regexp_literal | @string_literal;
|
||||
@regexpparent = @regexpterm | @regexp_literal | @string_literal | @add_expr;
|
||||
|
||||
case @regexpterm.kind of
|
||||
0 = @regexp_alt
|
||||
|
||||
Reference in New Issue
Block a user