FSM for regular expression.