updated regex2nfa event dispatching to dispatch yield-path event