note 51626 deleted from function.ereg by betz
| From: | betz@php.net | Date: | Wed, 06 Apr 2005 07:25:33 +0000 |
| Subject: | note 51626 deleted from function.ereg by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-87559@lists.php.net to get a copy of this message | ||
Note Submitter: Dave
Reason: useless
----
I may be a little thick, but there seems to be a little problem with the year portion.
(19[0-9]{2}|20[0-5]{2})
This covers 1900 - 1999 and then picks up with 2000 - 2055. Answer me this - what happens with
2006-01-01? Why would you limit the 21st century side to 0-5? I understand if you don't want
future dates in there but do you really want to go back and edit your code every year until 2009
when you'll have to use 20[0-9]{2} anyway?