cpython/Lib/re
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
..
__init__.py gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
_casefix.py gh-91575: Add a script for generating data for case-insensitive matching in re (GH-91660) 2022-04-22 21:37:46 +03:00
_compiler.py [3.12] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110859) 2023-10-14 06:42:19 +00:00
_constants.py gh-91524: Speed up the regular expression substitution (#91525) 2022-10-23 15:57:30 -07:00
_parser.py [3.12] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110859) 2023-10-14 06:42:19 +00:00