finite automata and regular expressions 1076169