Re: regex question matching dates
- From: rich.japh@xxxxxxxxx (Richard Lee)
- Date: Thu, 29 May 2008 11:13:08 -0400
John W. Krahn wrote:
fixed now. thanks!!^^^^^
} elsif ( $ARGV[0] =~ m/\b2008(0[1-9]|1[12])(0[1-9]|1[0-9]|2[0-9]|3[01])([01][0-9]|2[0-3])\b/ ) {
So you don't want to test for October?
John
} elsif ( $ARGV[0] =~ m/\b2008(0[1-9]|1[012])(0[1-9]|1[0-9]|2[0-9]|3[01])([01][0-9]|2[0-3])\b/ ) {
@array = qx#ls -tr $directory/$ARGV[0]*#;
$hour = substr($ARGV[0], 8 , 2);
$date_1 = substr($ARGV[0], 4 , 4);
.
- References:
- regex question matching dates
- From: Richard Lee
- Re: regex question matching dates
- From: John W. Krahn
- Re: regex question matching dates
- From: Richard Lee
- Re: regex question matching dates
- From: John W. Krahn
- regex question matching dates
- Prev by Date: Re: cgi ordering a table with sql
- Next by Date: Re: add @INC directory
- Previous by thread: Re: regex question matching dates
- Next by thread: difference between FTP and SFTP
- Index(es):