XP is just a number | |
PerlMonks |
Re: regex-matching the dateby Eureka_sg (Monk) |
on May 12, 2001 at 11:41 UTC ( [id://79926]=note: print w/replies, xml ) | Need Help?? |
Note that the '+' modifier is greedy so your regex will match the entire string You can use '?' to make it non-greedy /(\w{3}\s+?\w{3}\s+?\d+)/ and the result will be stored in $1. UPDATE: Ignore this post.
In Section
Seekers of Perl Wisdom
|
|