Just another Perl shrine | |
PerlMonks |
Re^2: very quick link regexby varian (Chaplain) |
on Aug 03, 2007 at 07:40 UTC ( [id://630464]=note: print w/replies, xml ) | Need Help?? |
You were very close to result already.
In this last part of your regexp the dot-plus will match all up to the end of line. The remaining '.jpg' part will not be found and therefore the regexp never matches. The solution is to make the dot-plus part of the regexp less greedy, change the part above to:
In Section
Seekers of Perl Wisdom
|
|