Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 203bbdd + 014fbfa commit 9eeaceaCopy full SHA for 9eeacea
2 files changed
python/ql/test/library-tests/regex/Mode.expected
@@ -7,4 +7,5 @@
7
| 50 | VERBOSE |
8
| 51 | UNICODE |
9
| 52 | UNICODE |
10
-| 64 | MULTILINE |
+| 56 | VERBOSE |
11
+| 68 | MULTILINE |
python/ql/test/library-tests/regex/test.py
@@ -1,5 +1,5 @@
1
import re
2
-# 0123456789ABCDEF
+# 0123456789ABCDEF
3
re.compile(r'012345678')
4
re.compile(r'(\033|~{)')
5
re.compile(r'\A[+-]?\d+')
@@ -50,6 +50,10 @@
50
re.compile("", flags=re.VERBOSE|re.IGNORECASE)
51
re.search("", None, re.UNICODE)
52
x = re.search("", flags=re.UNICODE)
53
+# using addition for flags was reported as FP in https://github.com/github/codeql/issues/4707
54
+re.compile("", re.VERBOSE+re.DOTALL) # TODO: Currently not recognized with Mode.ql
55
+# re.X is an alias for re.VERBOSE
56
+re.compile("", re.X)
57
58
#empty choice
59
re.compile(r'|x')
0 commit comments