Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: regex-matching the date

by Eureka_sg (Monk)
on May 12, 2001 at 11:41 UTC ( [id://79926]=note: print w/replies, xml ) Need Help??


in reply to regex-matching the date

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://79926]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-03-29 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found