Re: removing text from a string

From: Date: Thu, 06 Nov 2008 12:22:16 +0000
Subject: Re: removing text from a string
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-282985@lists.php.net to get a copy of this message
Ashley Sheridan a écrit :
Thats a lot of code when a couple of lines and a regex will do ;)
Maybe because the use of the regex is pointless here. A bazooka to kill the fly ? :)
I couldn't agree more. Not to mention that they are probably slower. PS Don't get me wrong I like perl and pcre but it is pointless here. -- Thodoris

« previous php.general (#282985) next »