Re: [PATCH] lenient datetime
| From: | Stas Malyshev | Date: | Wed, 03 Nov 2010 21:46:02 +0000 |
| Subject: | Re: [PATCH] lenient datetime | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50096@lists.php.net to get a copy of this message | ||
Hi!
What would happen if the string contained a matching pattern twice or me, which would be 'returned', also does this allow the rest of the string to be pretty much junk.Yes, the rest of the string (i.e. everything after the format was matched, while ignoring +) can be anything. I.e., as soon as the requirements of the format (like "Y-m-d") is satisfied, it doesn't matter what else the string has. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227