]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91760: Deprecate group names and numbers which will be invalid in future (GH-91794)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 30 Apr 2022 10:13:46 +0000 (13:13 +0300)
committerGitHub <noreply@github.com>
Sat, 30 Apr 2022 10:13:46 +0000 (13:13 +0300)
commit19dca041212f9f58ee11833bff3f8c157d4fd3e8
treedb3feb981ca27aabbf833b2a168e65ab3816b1b8
parent6d0d547033e295f91f05030322acfbb0e280fc1f
gh-91760: Deprecate group names and numbers which will be invalid in future (GH-91794)

Only sequence of ASCII digits 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.
Doc/library/re.rst
Doc/whatsnew/3.11.rst
Lib/re/_parser.py
Lib/test/test_re.py
Misc/NEWS.d/next/Library/2022-04-21-19-46-03.gh-issue-91760.zDtv1E.rst [new file with mode: 0644]