-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Captured strings of (.)(\g<1>) are same #157
Comments
It's probably specification. Extend doc about subexpression calls #105 Regex engine "oniguruma" do the same behavior. |
https://github.com/kkos/oniguruma/blob/master/doc/RE
|
|
Named backrefs behave differently in Perl syntax #74https://github.com/k-takata/Onigmo/blob/master/sample/simple.c Onigmo6.2.0 in ONIG_SYNTAX_PERL
|
Ruby code:
I expected the following result:
# => #<MatchData "AB" 1:"A" 2:"B">
The text was updated successfully, but these errors were encountered: