Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Regex output incorrectby jakeease (Friar) |
on Dec 14, 2010 at 10:41 UTC ( [id://877044]=note: print w/replies, xml ) | Need Help?? |
In your regex, the the dot matches any character, and in particular, it matches the slash before 2010. That's the first character that you don't want, so one way to get the correct output is to capture everything up to there: I replaced the dot with a slash since that's the first character I don't want.
In Section
Seekers of Perl Wisdom
|
|