http://qs321.pair.com?node_id=9377


in reply to Re: Extract and modify IMG SRC tags in an HTML document.
in thread Extract and modify IMG SRC tags in an HTML document.

What does:
(?(2)")
do? (I'd dig up the regex book but it's at work.) nice regex, btw. It seems me that the last pair of parentheses are unnecessary. (It might be instructive to use the /x modifier and comment it... this is definitely the most complex regex I have ever tried to understand and comments could make this regex a good reference.) -- anonymous monkey