cpython/Lib/re
Miss Islington (bot) 1c26f1ce6c
[3.11] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110860)
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:51:24 +00:00
..
__init__.py gh-92728: Restore re.template, but deprecate it (GH-93161) 2022-05-24 23:32:20 -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.11] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110860) 2023-10-14 06:51:24 +00:00
_constants.py gh-91404: Revert "bpo-23689: re module, fix memory leak when a match is terminated by a signal or allocation failure (GH-32283) (GH-93882) 2022-06-17 01:43:56 -07:00
_parser.py [3.11] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859) (GH-110860) 2023-10-14 06:51:24 +00:00