move duplicate regex into variable
prevent syntax highlighter from stripping leading tabs as well
simplify and reduce duplication in syntax highlighter code
more comments in syntax highlighter code