Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

Only sequence of ASCII digits not starting with 0 (except group 0) will be
accepted as a numerical reference.
The group name in bytes patterns and replacement strings could only
contain ASCII letters and digits and underscore.

Closes #91760.

…id in future

Only sequence of ASCII digits not starting with 0 (except group 0) will be
accepted as a numerical reference.
The group name in bytes patterns and replacement strings could only
contain ASCII letters and digits and underscore.
@serhiy-storchaka serhiy-storchaka merged commit 19dca04 into python:main Apr 30, 2022
@serhiy-storchaka serhiy-storchaka deleted the re-group-name-deprecate branch April 30, 2022 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

More strict rules for group numbers and names in RE

2 participants