
The gradle-jflex-plugin makes it possible to integrate jflex into the gradle build system. jflex itself is a lexical analyzer generator that takes as input a specification with a set of regular expressions and corresponding actions. it generates a program (a lexer) that reads input, matches the input against the regular expressions in the spec file, and runs the corresponding action if a regular expression matched.