[PHP-DEV] Bug #3674: Backreferences need 2 backslashes to work in preg_* functions From: sergio <email protected>
Date: 02/29/00

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>