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 e1c47f5 commit 71c017fCopy full SHA for 71c017f
python/ql/test/library-tests/frameworks/stdlib/test_re.py
@@ -8,7 +8,7 @@
8
# see https://docs.python.org/3/library/re.html#functions
9
ensure_not_tainted(
10
# returns Match object, which is tested properly below. (note: with the flow summary
11
- # modeling, objects containing tainted values are not itself tainted).
+ # modeling, objects containing tainted values are not themselves tainted).
12
re.search(pat, ts),
13
re.match(pat, ts),
14
re.fullmatch(pat, ts),
@@ -36,7 +36,6 @@
36
tainted_match.groupdict()["key"], # $ tainted
37
38
re.match(pat, ts).string, # $ tainted
39
- re.match(ts, "safe").re, # $ MISSING: tainted
40
re.match(ts, "safe").re.pattern, # $ tainted
41
42
compiled_pat.match(ts).string, # $ tainted
0 commit comments