change tag pattern regexp to allow unquoted attribute values

old regexp had \w+ for the unquoted attribute values; changed to [^\s>'"=]+ which is legal in html5 (per http://www.w3.org/html/wg/drafts/html/master/syntax.html#attribute-value-(unquoted)-state)