let get_substring_ofs s i =
  Re.get_ofs s i