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
That being said, regexr.com/70d5f shows something different: it gives two matches for the string 'ⁿa', one match for 'ⁿx', both of which being incorrect. It does, however, give the expected output for both 'na' and 'nx'.
I suspect that those Unicode chars are not handled correctly for some reason. Maybe someone can have a more in-depth look at this issue.
The text was updated successfully, but these errors were encountered:
I've just found a bug when using the following pattern on the PCRE engine with global flags enabled:
This is basically matching either
'n'
or'ⁿ'
that is not followed by letter'x'
.Thus, the following should be expected when running this Python snippet:
That being said, regexr.com/70d5f shows something different: it gives two matches for the string
'ⁿa'
, one match for'ⁿx'
, both of which being incorrect. It does, however, give the expected output for both'na'
and'nx'
.I suspect that those Unicode chars are not handled correctly for some reason. Maybe someone can have a more in-depth look at this issue.
The text was updated successfully, but these errors were encountered: