Bug #1099 Updated: Strange behaviour of regular expressions
| From: | Bug Database | Date: | Thu, 28 Jan 1999 14:22:50 +0000 |
| Subject: | Bug #1099 Updated: Strange behaviour of regular expressions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3761@lists.php.net to get a copy of this message | ||
ID: 1099
Updated by: rasmus
Reported By: thifi@telnet.hu
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@lists.php.net
For help: php-dev-help@lists.php.net