in reply to Re^3: Regexp not capturing in named subrules
in thread Regexp not capturing in named subrules
No, you misread. \g<thing> in Ruby-1.9's oniguruma works like (?&thing) in perl 5.10. It's a subroutine call. The grammar section (?: ... ){0} creates the subroutines and I just call an entry point later.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Regexp not capturing in named subrules
by merlyn (Sage) on Sep 16, 2009 at 18:29 UTC | |
by diotalevi (Canon) on Sep 16, 2009 at 18:36 UTC | |
by Corion (Patriarch) on Sep 16, 2009 at 18:49 UTC | |
by diotalevi (Canon) on Sep 16, 2009 at 18:56 UTC |
In Section
Seekers of Perl Wisdom