in reply to
Why is this regex greedy?
If you are running perl 5.6 or newer (and you are, right?) you might be able to insert
use re 'debug';
which will give you detailed output from regex engine. That's a good way to debug your regular expressions.
2share!2flame...
Comment on
Re: Why is this regex greedy?
Download
Code
In Section
Seekers of Perl Wisdom