Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I need to fetch all data with this syntax such as:
Jan 21 00:41
To fetch this in a regular expression I tried: $datehit =~ /(\w+\s\d{2}\s\d{2}\:\d{2}
Is this correct?
Jan 21 00:41
To fetch this in a regular expression I tried: $datehit =~ /(\w+\s\d{2}\s\d{2}\:\d{2}
Is this correct?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Fetching date
by ysth (Canon) on Jan 21, 2004 at 16:05 UTC | |
by Anonymous Monk on Jan 21, 2004 at 17:19 UTC | |
by Limbic~Region (Chancellor) on Jan 21, 2004 at 17:25 UTC | |
Re: Fetching date
by tcf22 (Priest) on Jan 21, 2004 at 16:11 UTC | |
Re: Fetching date
by dragonchild (Archbishop) on Jan 21, 2004 at 16:18 UTC | |
Re: Fetching date
by davemabe (Monk) on Jan 21, 2004 at 16:39 UTC | |
by Limbic~Region (Chancellor) on Jan 21, 2004 at 17:14 UTC |
Back to
Seekers of Perl Wisdom