Bug #18531 Updated: preg_ function and slashes
| From: | sniper@php.net | Date: | Thu, 25 Jul 2002 00:00:51 +0000 |
| Subject: | Bug #18531 Updated: preg_ function and slashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15100@lists.php.net to get a copy of this message | ||
ID: 18531
Updated by: sniper@php.net
Reported By: ivk@jensentechnologies.com
-Status: Open
+Status: Bogus
Bug Type: PCRE related
Operating System: Windows 2000
PHP Version: 4.2.2
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-07-24 04:55:14] ivk@jensentechnologies.com
$_ = 'test\\string';
$_ = preg_replace('/\\/i', 'A', $_);
echo $_;
doesn't replace (in php 4.2.0 it works!)
and
$_ = 'test\\string';
$_ = preg_replace('/\\\/i', 'A', $_);
echo $_;
works.
I think is a bug
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18531&edit=1