Re: regexp novice
| From: | Jim Giner | Date: | Thu, 17 May 2012 20:43:46 +0000 |
| Subject: | Re: regexp novice | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317881@lists.php.net to get a copy of this message | ||
OOPS
FORGOT to mention that I modify the string to add a colon if it is entered
without one, so my regexp
always expects a ":" to be in the middle. So in actuality - my regexp is
'passing' a value of 13:00 as legitimate, when it should not be.