Files
codeql/python/ql/test/library-tests/regex/groupTest.py
2026-03-04 13:11:38 +00:00

5 lines
120 B
Python

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