Changed automata to a table. (still no escaped sequences)