Added more actions for constructing nfa for regex parser.