JFlex is a lexical analyzer generator and takes input requirements with a set of regular expressions and corresponding
actions. It creates a program (a lexer) that reads input, matches the input against the regular expressions, and runs the matching
action.