ID: 10038
Updated by: andrei
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: PCRE related
Assigned To:
Comments:
This is fixed in 4.0.5.
Previous Comments:
---------------------------------------------------------------------------
[2001-03-28 12:14:47] [EMAIL PROTECTED]
Hello,
I want to replace _ with _, % with % and & with &.
Under PHP4.0.3pl1 (tested) and lower the following Code worked as expected:
<?php
$text = "Test with_ and %";
$text = preg_replace("/([_%&])/","\\1",$text);
echo $text;
?>
But under PHP4.0.4pl1 the output is:
Test with\1 and \1
PHP is compiled as Module with Apache.
Thank you,
Christoph
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10038&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]