For input automation. Input string. str input. accept, reject or modify. string matching with finite automata.