Fixed #783 -- corrected an issue with compiling certain positional regex escapes (e.g. \A) in unions