Don't leak expanded lhs/rhs in do_regex