Implemented proper regexps for the W3C NameStartChar
and NameChar
components. The only limitation is characters above \xFFFF
, which
won't fit into the \xhhhh
format for QRegExp. Also fixed a couple of
bugs in the existing implementation, by making the attribute matching
minimal (= not greedy), and allowing spaces between attribute names,
equals signs, and attribute values.