Date: 02/29/00
- Next message: Zeev Suraski: "[PHP-DEV] PHP 4.0 Beta 4 RC1 available"
- Previous message: sergio <email protected>: "[PHP-DEV] Bug #3673: Backreferences not working!"
- Next in thread: sergio <email protected>: "[PHP-DEV] Bug #3674: Backreferences need 2 backslashes to work in preg_* functions"
- Maybe reply: sergio <email protected>: "[PHP-DEV] Bug #3674: Backreferences need 2 backslashes to work in preg_* functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: sergio <email protected>
Operating system: Redhat Linux 6.0
PHP version: 3.0.15
PHP Bug Type: Documentation problem
Bug description: Backreferences need 2 backslashes to work in preg_* functions
In the documentation it says that the backreferences should be used with one backslash. Well, it doesn't work. But, in the preg_replace documentation examples that you should use 2 backslashes (and it works in all functions the second way)
-- 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: Zeev Suraski: "[PHP-DEV] PHP 4.0 Beta 4 RC1 available"
- Previous message: sergio <email protected>: "[PHP-DEV] Bug #3673: Backreferences not working!"
- Next in thread: sergio <email protected>: "[PHP-DEV] Bug #3674: Backreferences need 2 backslashes to work in preg_* functions"
- Maybe reply: sergio <email protected>: "[PHP-DEV] Bug #3674: Backreferences need 2 backslashes to work in preg_* functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

