[PHP-DEV] Bug #1099 Updated: Strange behaviour of regular expressions From: Bug Database (php-dev <email protected>)
Date: 01/28/99

ID: 1099
Updated by: rasmus
Reported By: thifi <email protected>
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:

Because *? is a Perl hack and not part of the Posix standard. Posix regular expressions are greedy by default.
 Replace it with something like [^,]* as in, match anything except a comma.

Full Bug description available at: http://ca.php.net/bugs.php3?id=1099

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>