in reply to non-greedy piecewise matching
The non-greedy version of "+" is "+?". (perlreref).
"An undefined problem has an infinite number of solutions." - Robert A. Humphrey "If you're not part of the solution, you're part of the precipitate." - Henry J. Tillman
In Section
Seekers of Perl Wisdom