it's a linter. many linters have been implemented...
# voxpupuli
v
it's a linter. many linters have been implemented using artisanal regexps. it is entirely normal that it does not reuse the actual lexer of the project. in fact, it is usually impossible since a linter has opinions on style (indentation, variable syntax) which gets thrown away by that lexer