Re: [PHP] Re: preg_replace problem

2009-06-14 Thread Andrew Ballard
On Sat, Jun 13, 2009 at 5:16 PM, Al wrote: > > > Al wrote: >> >> This preg_replace() should simply replace all "&" with "&" unless the >> value is already "&" >> >> But; if $value is simple a quote character ["] I get ""e". e.g., >> "test" => "e;test"e; >> >> Search string and replace works as it s

Re: [PHP] Re: preg_replace problem

2009-06-14 Thread Mark Kelly
Hi. On Saturday 13 June 2009, Al wrote: > I may not have been very clear. Feed it just "test" with the > quotes. You should get back, "test" the same as you gave it. Instead, > I get back "e;test"e; Like Shawn, I have tried your code in isolation and only get the expected results. I loo