in reply to Re^6: Regexp not capturing in named subrules
in thread Regexp not capturing in named subrules
I think the way God Intended patterns to be defined for later use is
qr/(?(DEFINE) (?<name>pattern) )/x
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: Regexp not capturing in named subrules
by diotalevi (Canon) on Sep 16, 2009 at 18:56 UTC |
In Section
Seekers of Perl Wisdom