ret.append match.pre_match

      if use_yield || hash
        Regexp.last_match = match