lex2 (pypi): Flexible, ruleset-based tokenizer using regex.
Keywords: lexer|tokenizer|sphinx