Library

ε-NFA · Regular

a* then b*

The textbook Finite Automaton with ε-Transitions example.

starta_starb_starεεab
The machine as drawn — 3 states, 4 transitions.Every word up to length 8, one row per length in shortlex order, inked where it is accepted.