Re: Re: preg guru question

From: Date: Sat, 14 Feb 2004 07:37:43 +0000
Subject: Re: Re: preg guru question
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-177684@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 lol i meant you, but i wrote the other name instead... sorry again Adam Bregenzer wrote:
On Sat, 2004-02-14 at 00:24, André Cerqueira wrote:
strange bug happened on my newsreader... 'joel boonstra' regex seems to be the better one hehe all others forgot that if u start with ', u must end with ' hehe (same thing with " :p)
As far as I could tell the regexp I posted was the only one to use a subpattern to match the first quote type used and then re-apply that after matching the file name: '/<img\s+src=([\'"])([^\1]+)\1\s*\/?\s*>/i' I am a bit of a regular expression fan and I would be interested in seeing another way to match without using subpatterns. What was Joel's regexp again? -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFALdBKaxdA/5C8vH8RAj1mAKDGqh7PJ6ABbngRiKcU25nj1IDZgACg3R7C yrvcY9EXqu9c2cw2FhilUcg= =OFjv -----END PGP SIGNATURE-----

« previous php.general (#177684) next »