Closed raskad closed 9 months ago
In the case where unicode mode is not set and there are no GroupNames in the regex, \k GroupName is not parsed as a capture group reference but as the literal character k and the literal following group name.
GroupName
\k GroupName
k
I fixed the 262 tests that check this behaviour.
In the case where unicode mode is not set and there are no
GroupName
s in the regex,\k GroupName
is not parsed as a capture group reference but as the literal characterk
and the literal following group name.I fixed the 262 tests that check this behaviour.