code: def make_html_patterns():
      
      tags = any("builtin", [r"<", r"[\?/]?>", r"(?<=<).*?(?=[ >])"])
      keywords = any("keyword", [r" [\w:-]*?(?==)"])
      string = any("string", [r'".*?"'])
      comment = any("comment", [r"<!--.*?-->"])
      multiline_comment_start = any("multiline_comment_start", [r"<!--"])
      multiline_comment_end = any("multiline_comment_end", [r"-->"])
      return "|".join([comment, multiline_comment_start,
                       multiline_comment_end, tags, keywords, string])
docs: Strongly inspired from idlelib.ColorDelegator.make_pat