On Fri, 04 May 2001, [EMAIL PROTECTED] wrote:
> ID: 10668
> User Update by: [EMAIL PROTECTED]
> Status: Analyzed
> Bug Type: PCRE related
> Description: preg_replace backquote failure
>
> H'm... I'm confused. :-) To complicate things further, the e-mails display half as
>many backslashes as the web page. :-) Since I'm not sure what you mean, I'll
>exhaustively list the behaviors:
>
> The following:
>
> $str = "abc'\\\\''def";
> function f($s) { var_dump($s); return "x"; }
> print preg_replace("/c(.*)d/e", "f('\\1')", $str);
>
> gives the error messages I posted earlier. (That's two backslashes before the 1.)
Ok, this example does not give me any errors. Can you try the latest CVS
and see if that works for you?
-Andrei
* What were the first 15 billion years of the universe like for you? *
--
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]