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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php