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 21e01b8 commit 213d011Copy full SHA for 213d011
python/ql/src/experimental/semmle/python/frameworks/Stdlib.qll
@@ -52,12 +52,13 @@ private module Re {
52
*
53
* ```py
54
* pattern = re.compile(input)
55
- * input.match(s)
+ * pattern.match(s)
56
* ```
57
58
- * `patternCall` refers to `re.compile(input)`,
59
- * `regexNode` refers to `input` and
60
- * `this` will refer to `input.match(s)`
+ * This class will identify that `re.compile` compiles `input` and afterwards
+ * executes `re`'s `match`. As a result, `this` will refer to `pattern.match(s)`
+ * and `this.getRegexNode()` will return the node for `input` (`re.compile`'s first argument)
61
+ *
62
63
* See `RegexExecutionMethods`
64
0 commit comments