{"height":"190","width":"100%","url":"https://johnyuan2000.hatenadiary.org/entry/20160307/1457305250","type":"rich","blog_url":"https://johnyuan2000.hatenadiary.org/","provider_url":"https://hatena.blog","categories":[],"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjohnyuan2000.hatenadiary.org%2Fentry%2F20160307%2F1457305250\" title=\"ruby \u6b63\u898f\u8868\u73fe\u3000\u65e5\u672c\u8a9e\u306b\u30de\u30c3\u30c1 - \u53f8\u5357\u9b5aLegacy\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u53f8\u5357\u9b5aLegacy","published":"2016-03-07 08:00:50","author_url":"https://blog.hatena.ne.jp/johnyuan2000/","title":"ruby \u6b63\u898f\u8868\u73fe\u3000\u65e5\u672c\u8a9e\u306b\u30de\u30c3\u30c1","provider_name":"Hatena Blog","description":"http://easyramble.com/japanese-regex-with-ruby-oniguruma.htmljapanese_regex = /\\A(?:\\p{Hiragana}|\\p{Katakana}|[\u30fc\u2212]|[\u4e00-\u9fa0\u3005])+\\z/\u6ce8\u610f\u70b9\u53e5\u8aad\u70b9\u306a\u3069\u3092\u8a66\u3057\u305f\u3002 pry(main)> \"\u3001\" =~ japanese_regex => nil pry(main)> \"\u3002\" =~ japanese_regex => nil pry(main)> \",\" =~ japanese_regex => nil pry(main)> \" \" =~ japanese_regex # \u534a\u89d2\u30b9\u30da\u30fc\u2026","author_name":"johnyuan2000","version":"1.0"}