|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: pattern matching (greedy, non-greedy,...)by Skeeve (Vicar) |
| on Dec 17, 2009 at 09:57 UTC ( #813163=note: print w/ replies, xml ) | Need Help?? |
|
I managed to use the range operator for this:
I simply reset my buffer when I find the start a second time. s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{% +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||