Syntax highlight with lexical analysis and regular expression.