Skip to content

[3.11] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859)#110860

Merged
serhiy-storchaka merged 1 commit intopython:3.11from
miss-islington:backport-e2b3d83-3.11
Oct 14, 2023
Merged

[3.11] gh-109747: Improve errors for unsupported look-behind patterns (GH-109859)#110860
serhiy-storchaka merged 1 commit intopython:3.11from
miss-islington:backport-e2b3d83-3.11

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 14, 2023

Now re.error is raised instead of OverflowError or RuntimeError for
too large width of look-behind pattern.

The limit is increased to 232-1 (was 231-1).
(cherry picked from commit e2b3d83)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…ythonGH-109859)

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 e2b3d83)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants