Visitar URL original
gh-91524: Speed up the regular expression substitution by serhiy-storchaka · Pull Request #91525 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
:gh: instead of :issue:
  • Loading branch information
gpshead committed Oct 23, 2022
commit 1c817444aa4e33fe48af09f673ed1a38dd859573
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Optimizations
* Speed up the regular expression substitution (functions :func:`re.sub` and
:func:`re.subn` and corresponding :class:`re.Pattern` methods) for
replacement strings containing group references by 2--3 times.
(Contributed by Serhiy Storchaka in :issue:`91524`.)
(Contributed by Serhiy Storchaka in :gh:`91524`.)


CPython bytecode changes
Expand Down