You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/serhiy-storchaka'closed_at=<Date2015-12-19.21:26:32.930>created_at=<Date2015-07-07.01:25:41.905>labels= ['expert-regex', 'type-bug']
title='Wrong or missing exception when compiling regexes with recursive named backreferences'updated_at=<Date2015-12-19.21:26:32.928>user='https://bugs.python.org/dhaffey'
Error reporting for recursive backreferences in regexes isn't consistent across both types of backref. Here's the exception for a recursive numeric backref:
>>> import re
>>> re.compile(r'(\1)')
Traceback (most recent call last):
...
sre_constants.error: cannot refer to an open group at position 1
Here's what I'm seeing on the 3.5 branch for a named backref:
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: