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
This bug was caused when I implemented implicit anchor optimization.
Actually the changes for implicit anchor optimization were totally
useless, because Oniguruma already had the optimization. (Oniguruma
has another bug with the optimization, though.)
Revert the following commits:
* 4a2a618
* 3ea0268
* e20e852
Also add some tests.
Onigmo/testpy.py
Lines 1419 to 1422 in 2cb0bec
/.*[a-z]bc/
and/.+[a-z]bc/
both match to 0-6 (abcabc
),but
/.{1,3}[a-z]bc/
matches to 2-6 (cabc
).Shouldn't be as follows?
/.*[a-z]bc/
: 3-6/.+[a-z]bc/
: 2-6/.{1,3}[a-z]bc/
: 2-6The text was updated successfully, but these errors were encountered: