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?

-- 
Adam Bregenzer
[EMAIL PROTECTED]
http://adam.bregenzer.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to