We don't bite newbies here... much | |
PerlMonks |
Re: limiting regular expression greediness?by The Mad Hatter (Priest) |
on Mar 21, 2004 at 01:36 UTC ( [id://338395]=note: print w/replies, xml ) | Need Help?? |
Try changing the .* to .*?. You might also consider using some of the XML modules on CPAN instead of regexes.
In Section
Seekers of Perl Wisdom
|
|