summaryrefslogtreecommitdiffstats
path: root/Lib/re/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-91524: Speed up the regular expression substitution (#91525)Serhiy Storchaka2022-10-231-18/+4
| | | | | | | | | 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>
* gh-96346: Use double caching for re._compile() (#96347)Serhiy Storchaka2022-10-071-21/+46
|
* gh-92728: Restore re.template, but deprecate it (GH-93161)Miro HronĨok2022-05-251-1/+22
| | | | | | Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)" This reverts commit b09184bf05b07b77c5ecfedd4daa846be3cbf0a9.
* bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)Serhiy Storchaka2022-04-061-7/+1
| | | They were undocumented and never working.
* bpo-47152: Remove unused import in re (GH-32298)Serhiy Storchaka2022-04-041-4/+0
|
* bpo-47152: Convert the re module into a package (GH-32177)Serhiy Storchaka2022-04-021-0/+363
The sre_* modules are now deprecated.