[PHP-DEV] Bug #3673: Backreferences not working! From: sergio <email protected>
Date: 02/29/00

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>