Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-91760: Deprecate group names and numbers which will be invalid in future #91794

Merged

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