<Original message>
From: ~~~i LeoNid ~~ <[EMAIL PROTECTED]>
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>


If you look at the stuff you sent you'll understand why I improved

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.



* R&zE:

-- Renze Munnik
-- DataLink BV
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- Stationsplein 82
-- 2011 LM  HAARLEM
-- Netherlands
-- http://www.datalink.nl

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to