some lexer updates for metricsview and charview