File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
python/ql/test/library-tests/regex Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 77| 50 | VERBOSE |
88| 51 | UNICODE |
99| 52 | UNICODE |
10- | 64 | MULTILINE |
10+ | 56 | VERBOSE |
11+ | 68 | MULTILINE |
Original file line number Diff line number Diff line change 11import re
2- # 0123456789ABCDEF
2+ # 0123456789ABCDEF
33re .compile (r'012345678' )
44re .compile (r'(\033|~{)' )
55re .compile (r'\A[+-]?\d+' )
5050re .compile ("" , flags = re .VERBOSE | re .IGNORECASE )
5151re .search ("" , None , re .UNICODE )
5252x = 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 )
5357
5458#empty choice
5559re .compile (r'|x' )
You can’t perform that action at this time.
0 commit comments