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 8a80098 commit 21e01b8Copy full SHA for 21e01b8
python/ql/src/experimental/semmle/python/frameworks/Stdlib.qll
@@ -48,6 +48,17 @@ private module Re {
48
/**
49
* A class to find `re` methods immediately executing a compiled expression by `re.compile`.
50
*
51
+ * Given the following example:
52
+ *
53
+ * ```py
54
+ * pattern = re.compile(input)
55
+ * input.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)`
61
62
* See `RegexExecutionMethods`
63
64
* See https://docs.python.org/3/library/re.html#regular-expression-objects
0 commit comments