{"blog_title":"\u3082\u306e\u3065\u304f\u308a\u306e\u30d6\u30ed\u30b0","url":"https://a1026302.hatenablog.com/entry/2022/08/16/112241","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2022%2F08%2F16%2F112241\" title=\"ruby \u3067 google \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e URI \u304b\u3089\u30ad\u30fc\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u51e6\u7406\u3092\u8003\u3048\u3066\u307f\u308b - \u3082\u306e\u3065\u304f\u308a\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"ruby \u3067 google \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e URI \u304b\u3089\u30ad\u30fc\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u51e6\u7406\u3092\u8003\u3048\u3066\u307f\u308b","blog_url":"https://a1026302.hatenablog.com/","version":"1.0","width":"100%","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","published":"2022-08-16 11:22:41","height":"190","categories":["Ruby on rails","Ruby on rails-Google \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8"],"author_name":"a1026302","author_url":"https://blog.hatena.ne.jp/a1026302/","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917","type":"rich","description":"ruby \u3067 uri \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u305f\u51e6\u7406\u3092\u66f8\u3044\u3066\u307f\u305f\u306e\u3067\u3001\u3053\u3053\u306b\u30e1\u30e2\u3057\u307e\u3059\u3002 \u30b3\u30fc\u30c9 uri \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4f7f\u3044\u65b9 uri \u3068\u306f uri \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u306b\u306f URI \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 regex \u95a2\u9023 \u30b3\u30fc\u30c9 google \u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e URI \u3092\u5165\u529b\u3068\u3057\u3066\u3001\u30ad\u30fc\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u51e6\u7406\u3092\u8003\u3048\u3066\u307f\u307e\u3057\u305f\u3002 require 'uri' def sheet_key(string) def invalid_msg(str, expected_str, actual_str) \"#{str} is invalid: expected a (#{expected_str}) but got: (#{ac\u2026"}