]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42885: Optimize search for regular expressions starting with "\A" or "^" (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 22 Mar 2022 15:27:55 +0000 (17:27 +0200)
committerGitHub <noreply@github.com>
Tue, 22 Mar 2022 15:27:55 +0000 (17:27 +0200)
commit492d4109f4d953c478cb48f17aa32adbb912623b
treec912b908f3e247d161901c0794bb28753759b796
parent32e77154ddfc514a3144d5912bffdd957246fd6c
bpo-42885: Optimize search for regular expressions starting with "\A" or "^" (GH-32021)

Affected functions are re.search(), re.split(), re.findall(), re.finditer()
and re.sub().
Lib/test/test_re.py
Misc/NEWS.d/next/Library/2022-03-21-08-32-19.bpo-42885.LCnTTp.rst [new file with mode: 0644]
Modules/sre_lib.h