|Just another Perl shrine|
Regular expression for dateby perlee (Initiate)
|on Aug 25, 2008 at 07:47 UTC||Need Help??|
perlee has asked for the
wisdom of the Perl Monks concerning the following question:
I just got tired of trying to know my code isnt working. Need ur help.This is what I have : to match the date in 10-01-08 format.
However the loop never enters again in case of a wrong input.
I have also tried (for simplicity)
On 10-01-08..Loop is not entered again (fine)
On 100-01-08..Loop is not entered again (why)
on xx-xx-xx..Loop is not entered again (fine)
What is that I am missing..Thanks