cpython/Modules/_sre
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
..
clinic gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
sre.c gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
sre.h gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
sre_constants.h gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
sre_lib.h 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
sre_targets.h gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00