Content-Length: 317500 | pFad | https://github.com/python/cpython/pull/91794

BB gh-91760: Deprecate group names and numbers which will be invalid in future by serhiy-storchaka · Pull Request #91794 · python/cpython · GitHub
Skip to content

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

Merged
serhiy-storchaka merged 8 commits intopython:mainfrom
serhiy-storchaka:re-group-name-deprecate
Apr 30, 2022
Merged

gh-91760: Deprecate group names and numbers which will be invalid in future#91794
serhiy-storchaka merged 8 commits intopython:mainfrom
serhiy-storchaka:re-group-name-deprecate

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/91794

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy