{"categories":["Ruby"],"published":"2013-06-13 23:16:53","version":"1.0","image_url":null,"provider_url":"https://hatena.blog","description":"\u5f8c\u65b9\u53c2\u7167\u306f$&\u3092\u4f7f\u3046 # -*- coding: utf-8 -*- hoge = '0123-4' p /(-\\d)/ =~ hoge print($& + \"\\n\") \u30de\u30c3\u30c1\u3057\u305f\u6587\u5b57\u5217\u3092\u53d6\u5f97($&) - \u5f8c\u65b9\u53c2\u7167 - Ruby\u6b63\u898f\u8868\u73fe\u306e\u4f7f\u3044\u65b9","type":"rich","title":"\u5f8c\u65b9\u53c2\u7167","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20130613%2F1371133013\" title=\"\u5f8c\u65b9\u53c2\u7167 - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://www.shigemk2.com/","author_url":"https://blog.hatena.ne.jp/shigemk2/","author_name":"shigemk2","width":"100%","url":"https://www.shigemk2.com/entry/20130613/1371133013","blog_title":"by shigemk2","provider_name":"Hatena Blog"}