Added support for <input type="image"> tag and multi-line matching.

Changed regular expression so input tags like the following are now matched:

<input type="image" src="...">

Also, replaced .* with [^>]+ between tag name and src/href to allow for matching tags that span multiple lines.