[PHP] Re: Weird preg issue

2010-11-04 Thread Alex Nikitin
but that doesnt work if you add something after the "Mooo" *sigh*. well it gets kept On Thu, Nov 4, 2010 at 3:47 PM, Alex Nikitin wrote: > Hi, > > I'm kind of new to this list, and so if there have been discussions about > this, i am not quite aware of them (i tried searching), but i ra

[PHP] Re: Weird preg issue

2010-11-04 Thread Alex Nikitin
Ah, i seem to have figured out the problem here... if you run a preg_match_all it will return [0] => Array ( [0] => And the cow says [1] => [2] => Moo" [3] => ) And preg_replace is global by default, so in order for this to work