-
- Downloads
gh-91760: More strict rules for numerical group references and group names in RE (GH-91792)
Only sequence of ASCII digits is now accepted as a numerical reference. The group name in bytes patterns and replacement strings can now only contain ASCII letters and digits and underscore.
Showing
- Doc/library/re.rst 11 additions, 8 deletionsDoc/library/re.rst
- Doc/whatsnew/3.12.rst 10 additions, 0 deletionsDoc/whatsnew/3.12.rst
- Lib/re/_parser.py 12 additions, 28 deletionsLib/re/_parser.py
- Lib/test/test_re.py 24 additions, 55 deletionsLib/test/test_re.py
- Misc/NEWS.d/next/Library/2022-04-21-19-14-29.gh-issue-91760.54AR-m.rst 5 additions, 0 deletions...ext/Library/2022-04-21-19-14-29.gh-issue-91760.54AR-m.rst
Loading
Please register or sign in to comment