You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm the bug. The RE engine has limitation on the width of look-behind pattern. But there were no checks for this or they did not work. I will see how it can be fixed.
Activity
AA-Turner commentedon Sep 22, 2023
cc: @serhiy-storchaka @ezio-melotti
AA-Turner commentedon Sep 22, 2023
@fuzzah are you able to reproduce the error with 3.12.0rc3 or 3.13.0a0?
A
fuzzah commentedon Sep 22, 2023
@AA-Turner , for both versions the answer is yes.
My checked out commit of 3.13.0a0 is this:
fuzzah commentedon Sep 22, 2023
Might be related: #91700, #98740
serhiy-storchaka commentedon Sep 22, 2023
Confirm the bug. The RE engine has limitation on the width of look-behind pattern. But there were no checks for this or they did not work. I will see how it can be fixed.
pythongh-109747: Improve errors for unsupported look-behind patterns
gh-109747: Improve errors for unsupported look-behind patterns (GH-10…
pythongh-109747: Improve errors for unsupported look-behind patterns (p…
pythongh-109747: Improve errors for unsupported look-behind patterns (p…
[3.12] gh-109747: Improve errors for unsupported look-behind patterns (…
[3.11] gh-109747: Improve errors for unsupported look-behind patterns (…
serhiy-storchaka commentedon Oct 14, 2023
Now you will get better error message. Also, the limit is increased.
pythongh-109747: Improve errors for unsupported look-behind patterns (p…
pythongh-109747: Improve errors for unsupported look-behind patterns (p…