worldfear
asked on
regex problem
why does the regex not match the expression?
$i='09 Jan 2001';
if ($i=~(/[0|1|2|3]?\d\s+[Jan |Feb|Mar|A pr|May|Jun |Jul|Aug|S ep|Oct|Nov |Dec]\s+\d {4}/)){
print "z";
}
$i='09 Jan 2001';
if ($i=~(/[0|1|2|3]?\d\s+[Jan
print "z";
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.