good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Why is this regex greedy?by dpavlin (Friar) |
on Jul 02, 2004 at 23:32 UTC ( [id://371530]=note: print w/replies, xml ) | Need Help?? |
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...
In Section
Seekers of Perl Wisdom
|
|