Captured choices not working with Cython machine parser
goodmami opened this issue · comments
Michael Wayne Goodman commented
With the cythonized machine parser, a pattern such as ~("a" / "b")
will emit the matched string for "b" but not for "a". This is because the 'capture' flag is being set on the last instruction of the choice's subprogram and not after the entire choice.