Fix CompiledRegex

This commit is contained in:
jorgectf
2021-03-24 21:02:09 +01:00
parent d61adccd3c
commit b5ea41fcca

View File

@@ -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
)
}