-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Closed
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixestopic-regextype-featureA feature request or enhancementA feature request or enhancement
Description
It missed my attention that DEBUG output is not specialized for atomic groups (added in #34627). For example:
>>> re.compile('(?>ab?)', re.DEBUG)
ATOMIC_GROUP [(LITERAL, 97), (MAX_REPEAT, (0, 1, [(LITERAL, 98)]))]
...
The correct output should show the decoded structure of the subpattern:
>>> re.compile('(?>ab?)', re.DEBUG)
ATOMIC_GROUP
LITERAL 97
MAX_REPEAT 0 1
LITERAL 98
...
Linked PRs
Metadata
Metadata
Assignees
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixestopic-regextype-featureA feature request or enhancementA feature request or enhancement