Regex changed in htmlParser to support colons in tags and attributes