There was an error while loading. Please reload this page.
1 parent d61adcc commit b5ea41fCopy full SHA for b5ea41f
1 file changed
python/ql/src/experimental/semmle/python/frameworks/Stdlib.qll
@@ -226,11 +226,10 @@ private module Stdlib {
226
Attribute regexMethod;
227
228
CompiledRegex() {
229
- exists(DirectRegex reMethod, ReCompileCall compileCall |
230
- this = reMethod and
231
- reMethod.getRegexMethod() = compileCall.getRegexMethod() and
+ exists(ReCompileCall compileCall |
232
regexNode = compileCall.getRegexNode() and
233
- regexMethod = reMethod.getRegexMethod()
+ regexMethod = compileCall.getRegexMethod() and
+ this = compileCall
234
)
235
}
236
0 commit comments