Fix parse error in multiline exception expression matching

not a perfect fix, but good enough