The string-matching automaton of over is the DFA with states , start state , accepting state , and transition the length of the longest prefix of that is a suffix of .
ababc, drawn from Output 25.3. The edges not drawn lead to state . From state (abab read), an a leads to : ababa ends with aba.