PHP 4.0 Bug #2623 Updated: Escaping a backslash doesn't seem to work in preg_replace
| From: | Bug Database | Date: | Thu, 28 Oct 1999 16:42:27 +0000 |
| Subject: | 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-11984@lists.php.net to get a copy of this message | ||
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