Re: For the RegExps gurus!

From: Date: Fri, 07 Sep 2001 07:39:37 +0000
Subject: Re: For the RegExps gurus!
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-66351@lists.php.net to get a copy of this message
<Original message> From: ~~~i LeoNid ~~ <nux@hosting.front.ru> Date: Thu, Sep 06, 2001 at 05:30:44PM +0000 Message-ID: <3b97b222.78196206@localhost> Subject: Re: [PHP] For the RegExps gurus! > You can keep improving:) or you can use piece of my working (except for > $Harlem, to which i am not going:) code (I give it for free this time:) > > No /me, no ereg, no nothing - gentleMen:)-just /i (did you miss it, btw?:) </Original message> <Reply> If you look at the stuff you sent you'll understand why I improved it. Btw... why the h*ll do you explode() the string you're matching, while there's the /m modifier? You're making it to difficult for yourself (and others). No need for the messy solution you created... Just use RE's that are as simple as possible. It has the best performance and it reads a lot easier. </Reply> -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#66351) next »