Fwd: [PHP] One more time about regexes

From: Date: Thu, 27 May 2010 03:10:25 +0000
Subject: Fwd: [PHP] One more time about regexes
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-305558@lists.php.net to get a copy of this message
---------- Forwarded message ---------- From: Nilesh Govindarajan <lists@itech7.com> Date: Thu, May 27, 2010 at 8:40 AM Subject: Re: [PHP] One more time about regexes To: Andre Polykanine <andre@oire.org> On Thu, May 27, 2010 at 3:33 AM, Andre Polykanine <andre@oire.org> wrote: > Hello everyone, > > Sorry, but I'm asking one more time (since it's really annoying me and > I need to apply some really dirty hacks): > Is there a way making preg_replace() pass through the regex one single > time searching from left to right and not to erase what it has already > done? > I can give you a real task I'm accomplishing but the tasks requiring > that tend to multiply... > Thanks a lot! > > -- > With best regards from Ukraine, > Andre > Http://oire.org/ - The Fantasy blogs of Oire > Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org > Yahoo! messenger: andre.polykanine; ICQ: 191749952 > Twitter: http://twitter.com/m_elensule > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > If you don't want to replace the stuff it has searched then use preg_match ! -- Nilesh Govindarajan Facebook: nilesh.gr Twitter: nileshgr Website: www.itech7.com -- Nilesh Govindarajan Facebook: nilesh.gr Twitter: nileshgr Website: www.itech7.com

« previous php.general (#305558) next »