mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Fix CompiledRegex
This commit is contained in:
@@ -226,11 +226,10 @@ private module Stdlib {
|
||||
Attribute regexMethod;
|
||||
|
||||
CompiledRegex() {
|
||||
exists(DirectRegex reMethod, ReCompileCall compileCall |
|
||||
this = reMethod and
|
||||
reMethod.getRegexMethod() = compileCall.getRegexMethod() and
|
||||
exists(ReCompileCall compileCall |
|
||||
regexNode = compileCall.getRegexNode() and
|
||||
regexMethod = reMethod.getRegexMethod()
|
||||
regexMethod = compileCall.getRegexMethod() and
|
||||
this = compileCall
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user