[PHP-DEV] RE: PHP 4.0 Bug #2623 Updated: Escaping a backslash doesn't seem to work in preg_replace From: Duarte, Rob (Rob.Duarte <email protected>)
Date: 10/28/99

I thought I'd tried that, but oh well. Thanks for the update!

Rob.

> -----Original Message-----
> From: Bug Database [SMTP:php-dev <email protected>]
> Sent: Thursday, October 28, 1999 12:42 PM
> To: rob.duarte <email protected>
> Subject: PHP 4.0 Bug #2623 Updated: Escaping a backslash doesn't seem
> to work in preg_replace
>
> ID: 2623
> Updated by: andrei
> Reported By: rob.duarte <email protected>
> Status: Closed
> Bug Type: Parser error
> Assigned To:
> Comments:
>
> This has been fixed in CVS.
> Note:
> Since PHP does its own backslashing in strings, in order for your
> pattern to work properly it would need to look like:
> "/\\\\/"
>
>
> Full Bug description available at: http://bugs.php.net/version4/?id=2623

-- 
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>