cpython/Lib/re
Serhiy Storchaka 75a6fadf36
gh-91524: Speed up the regular expression substitution (#91525)
Functions re.sub() and re.subn() and corresponding re.Pattern methods
are now 2-3 times faster for replacement strings containing group references.

Closes #91524

Primarily authored by serhiy-storchaka Serhiy Storchaka
Minor-cleanups-by: Gregory P. Smith [Google] <greg@krypto.org>
2022-10-23 15:57:30 -07:00
..
__init__.py gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
_casefix.py
_compiler.py gh-91404: Revert "bpo-23689: re module, fix memory leak when a match is terminated by a signal or allocation failure (GH-32283) (#93882) 2022-06-17 01:19:44 -07:00
_constants.py gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
_parser.py gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00