{"provider_url":"https://hatena.blog","author_name":"nishiohirokazu","author_url":"https://blog.hatena.ne.jp/nishiohirokazu/","published":"2008-03-28 02:46:03","type":"rich","image_url":null,"width":"100%","categories":[],"version":"1.0","title":"\u6b63\u898f\u8868\u73fe\u3067FizzBuzz","provider_name":"Hatena Blog","height":"190","url":"https://nishiohirokazu.hatenadiary.org/entry/20080328/1206726363","description":"Python\u3067\u5bfe\u8a71\u7684\u5b9f\u884c\uff1a >>> MOD3 = re.compile(\"(([369][0369])|([147][258])|([258][147])|[^\\d][369]) \") >>> MOD15 = re.compile(\"\\d*[05]<\") >>> MOD5 = re.compile(\"\\d*[05] \") >>> MOD3AFTER = re.compile(\"\\d+<\") >>> data = \"1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \" >>> MOD3.sub(r\"\\1<\", data) '1 2 3<4 5 \u2026","blog_url":"https://nishiohirokazu.hatenadiary.org/","blog_title":"\u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnishiohirokazu.hatenadiary.org%2Fentry%2F20080328%2F1206726363\" title=\"\u6b63\u898f\u8868\u73fe\u3067FizzBuzz - \u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}