good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Why doens't non-greediness work?by cciulla (Friar) |
on May 10, 2003 at 12:56 UTC ( [id://257123]=note: print w/replies, xml ) | Need Help?? |
Update: Seriously beaten to the punch and the above answers are WAY better than mine. :) Because the first sub is clobbering the second sub. Check this out...
Translating the first sub, ala Friedl: find <img followed by one or more characters repeated zero or one times followed by ="Smiley" So, it's being TOO greedy! Cē
In Section
Seekers of Perl Wisdom
|
|