Syntactic Confectionery Delight | |
PerlMonks |
Re: greedy subexpression between two nongreedy onesby Anonymous Monk |
on Jun 03, 2015 at 01:38 UTC ( [id://1128891]=note: print w/replies, xml ) | Need Help?? |
Just trying to see how many '?' I can get in one regex :)
This will, of course, give "Use of uninitialized value $1 in concatenation (.)" if you use warnings. Here's a fix for that, if needed.
or
In Section
Seekers of Perl Wisdom
|
|