Date: 02/29/00
- Next message: sergio <email protected>: "[PHP-DEV] Bug #3674: Backreferences need 2 backslashes to work in preg_* functions"
- Previous message: Bug Database: "[PHP-DEV] Bug #3672 Updated: httpd crashes if MySQL-support is enabled"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: sergio <email protected>
Operating system: Redhat Linux 6.0
PHP version: 3.0 Latest CVS (29/02/2000)
PHP Bug Type: Misbehaving function
Bug description: Backreferences not working!
Backreferences are not working in the suplied regex functions. The documentation says they are Posix 1003.2 compliant but you can't use a simple expresion like
ereg("(.+)=\1","foo=foo",$m), it will never match It should be a) implemented to be Posix compliant or b) warned in the documentation. The only backreference usable is in ereg_replace, where you can use it in the substituion expresion. I talked to other people and they have the same problem.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sergio <email protected>: "[PHP-DEV] Bug #3674: Backreferences need 2 backslashes to work in preg_* functions"
- Previous message: Bug Database: "[PHP-DEV] Bug #3672 Updated: httpd crashes if MySQL-support is enabled"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

