Welcome to the Monastery | |
PerlMonks |
Re^3: Is there a more functional regex syntax?by smls (Friar) |
on Sep 18, 2012 at 17:14 UTC ( [id://994317]=note: print w/replies, xml ) | Need Help?? |
Thank, this is what I've been looking for! It's not extremely pretty, but it should scale nicely for the general case of needing the result of a regex string extraction as a right-hand-side value. PS: The regex suggested by tobyink above can make the single-line case much more readable: /(\d+)/g
In Section
Seekers of Perl Wisdom
|
|