summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-09-26 07:56:33 (GMT)
committerGitHub <noreply@github.com>2023-09-26 07:56:33 (GMT)
commit8ac2085b80eca4d9b2a1093d0a7da020fd12e11a (patch)
tree8b8d71d95b130ed511f4d8d53a13a6da1f2dd1cc /Misc
parent7c61a361fc2e93375e22849fffbc20b60e94dbde (diff)
downloadcpython-8ac2085b80eca4d9b2a1093d0a7da020fd12e11a.zip
cpython-8ac2085b80eca4d9b2a1093d0a7da020fd12e11a.tar.gz
cpython-8ac2085b80eca4d9b2a1093d0a7da020fd12e11a.tar.bz2
gh-109631: Allow interruption of short repeated regex matches (GH-109867)
Counting for signal checking now continues in new match from the point where it ended in the previous match instead of starting from 0.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-09-25-23-00-37.gh-issue-109631.eWSqpO.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-09-25-23-00-37.gh-issue-109631.eWSqpO.rst b/Misc/NEWS.d/next/Library/2023-09-25-23-00-37.gh-issue-109631.eWSqpO.rst
new file mode 100644
index 0000000..58af2e5
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-09-25-23-00-37.gh-issue-109631.eWSqpO.rst
@@ -0,0 +1,3 @@
+:mod:`re` functions such as :func:`re.findall`, :func:`re.split`,
+:func:`re.search` and :func:`re.sub` which perform short repeated matches
+can now be interrupted by user.