{
~ return 1; # Valid date
~}
~ } else {
~return 0; # Not a date
~ }
}
The link for that code is
http://www.regular-expressions.info/dates.html coz you might not
understand the code
Thanks,
Michael Louie Loria
-BEGIN PGP SIGNATURE-
Comment: Public Key: https://www.biglumber.com/x/web
$Bill Luebkert wrote:
Michael Louie Loria wrote:
I'm tesing the Text::ParseWords
I'm new in Perl and I'm a little bit confused with the PATTERNS
option but I'm learning it.
Is this code good for checking valid date in the format -MM-DD?
or do you have any other suggestions
What's
four
five
six
seven
the difference is the string enclosed withis considered as 1
string even with spaces.
Thanks,
Michael Louie Loria
-BEGIN PGP SIGNATURE-
Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: Public Key: http://www.lorztech.com/GPG.txt
Comment