Merge the Regexp impls.