More on Tokens and Finite State Automata

A finite state automaton:

A tokenizer corresponding to this FSA: