RE: PHP 4.0 Bug #2623 Updated: Escaping a backslash doesn't seem to work in preg_replace

From: Date: Thu, 28 Oct 1999 16:53:39 +0000
Subject: RE: PHP 4.0 Bug #2623 Updated: Escaping a backslash doesn't seem to work in preg_replace
Groups: php.dev 
Request: Send a blank email to php-dev+get-11988@lists.php.net to get a copy of this message
I thought I'd tried that, but oh well. Thanks for the update! Rob. > -----Original Message----- > From: Bug Database [SMTP:php-dev@lists.php.net] > Sent: Thursday, October 28, 1999 12:42 PM > To: rob.duarte@fmr.com > 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@fmr.com > 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

« previous php.dev (#11988) next »