[PHP] Re: rewrite urls with preg_replace

2002-11-29 Thread Dieter Koch
.php.net/manual/en/function.preg-replace.php And check the Example 2. Using /e modifier part. Hope that helps ;) James Dieter Koch [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi to all the PHP-Fans out there, i have a syntax-problem w

[PHP] rewrite urls with preg_replace

2002-11-28 Thread Dieter Koch
Hi to all the PHP-Fans out there, i have a syntax-problem with the folowing preg_replace command: $returnString = preg_replace(/(href=\)(.+?)(\)/is, preg_quote(\\1.ebLinkEncode(.\\2.).\\3), $returnString); i'm trying to call my own function within a preg_replace function and it won't work. any