Bug #3673: Backreferences not working!
| From: | sergio at ing dot puc dot cl | Date: | Wed, 01 Mar 2000 01:52:46 +0000 |
| Subject: | Bug #3673: Backreferences not working! | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16176@lists.php.net to get a copy of this message | ||
From: sergio@ing.puc.cl
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.