Files
codeql/python/ql/test/library-tests/regex/groupTest.py
Rasmus Lerchedahl Petersen e5f07cc4d3 Python: inline test of regex components
- Added naive implementation of `charRange` so the test can run.
- Made predicates public as needed.
2021-06-28 17:04:48 +02:00

5 lines
136 B
Python

import re
re.compile(r'(?P<first>\w+) (?P<second>\w+)') #$ MISSING: group=0:14 group=15:30
re.compile(r'([)(])') #$ MISSING: group=0:6