regex-matching the dateby stuffy (Monk)
|on May 12, 2001 at 11:23 UTC||Need Help??|
stuffy has asked for the
wisdom of the Perl Monks concerning the following question:
I have the date in this format
Sun Apr 1 10:27:03 CDT 2001
I want to match the sun apr 1 part of it. I tried to match using
the way I understand it, it should match a 3 letter word, a space, a three letter word, a space, and a number.
It doesn't work for me. Onto the questions. Is there an easier way to match the date, and why won't what I'm trying to do work?
Edit: chipmunk 2001-05-12