cpython/Modules/_sre
Miss Islington (bot) a2cc9a4c3a
[3.12] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110859)
Now re.error is raised instead of OverflowError or RuntimeError for
too large width of look-behind pattern.

The limit is increased to 2**32-1 (was 2**31-1).
(cherry picked from commit e2b3d831fd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-10-14 06:42:19 +00:00
..
clinic gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
sre.c [3.12] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110859) 2023-10-14 06:42:19 +00:00
sre.h [3.12] gh-109631: Allow interruption of short repeated regex matches (GH-109867) (#109886) 2023-10-02 17:36:29 +02:00
sre_constants.h gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
sre_lib.h [3.12] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110859) 2023-10-14 06:42:19 +00:00
sre_targets.h gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00