We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 113ce61 commit a64848cCopy full SHA for a64848c
python/ql/lib/semmle/python/regex.qll
@@ -33,7 +33,7 @@ private import semmle.python.ApiGraphs
33
class StdLibRegExpInterpretation extends RegExpInterpretation::Range {
34
StdLibRegExpInterpretation() {
35
this =
36
- API::moduleImport("re").getMember(any(string name | name != "escape")).getACall().getArg(0)
+ API::moduleImport("re").getMember("compile").getACall().getParameter(0, "pattern").asSink()
37
}
38
39
0 commit comments