Named backrefs (\k<name>, \g{name}) refer only the left most group with the name in Perl.
However they behave differently in Onigmo with Perl syntax. (
|
When backreferencing with a name that is assigned to more than one groups, |
|
the last group with the name is checked first, if not matched then the |
|
previous one with the name, and so on, until there is a match. |
)
They should refer only the left most group in Perl syntax.
Related: #73
Named backrefs (
\k<name>,\g{name}) refer only the left most group with the name in Perl.However they behave differently in Onigmo with Perl syntax. (
Onigmo/doc/RE
Lines 321 to 323 in b334081
They should refer only the left most group in Perl syntax.
Related: #73