Re: tricky preg_replace and how to escape the \{occurencenumber}

From: Date: Fri, 16 Aug 2002 18:36:52 +0000
Subject: Re: tricky preg_replace and how to escape the \{occurencenumber}
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-113000@lists.php.net to get a copy of this message
hm... this should work, notice the double quotes echo preg_replace('/(.+?)(\..+?)/e', '"\1"."1"."\2"', $fn); Lallous wrote:
Oh well, I could have solved it w/ too many other methods, but how can I escape the \{occurence} as in my case?


« previous php.general (#113000) next »