{"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20120414%2F1334372580\" title=\" C++\u3067JavaScript\u306eString.prototype.replace\u3092\u5b9f\u73fe\u3067\u304d\u308b\u304b - Islands in the byte stream (legacy)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","url":"https://gfx.hatenadiary.org/entry/20120414/1334372580","description":"ECMA Script\u306eString.prototype.replace\u30e1\u30bd\u30c3\u30c9\u306f\u7b2c\u4e8c\u5f15\u6570\u304c\u95a2\u6570\u3060\u3063\u305f\u5834\u5408\u3001\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u3067\u30ad\u30e3\u30d7\u30c1\u30e3\u3055\u308c\u308b\u90e8\u5206\u304c\u53ef\u5909\u9577\u3067\u3057\u304b\u3082\u3053\u306e\u53ef\u5909\u9577\u5f15\u6570\u304c\u56fa\u5b9a\u5f15\u6570\u306b\u631f\u307e\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u4e0d\u601d\u8b70\u4ed5\u69d8\u3067\u3059\u3002 \u4f7f\u7528\u4f8b\uff1a #!/usr/bin/env node console.log( \"(f)ooba(r)\".replace(function(part, p1, p2, pos, src) { console.log( Array.prototype.slice.call(arguments) ); }); // \u7d50\u679c\uff1a // [ 'oba', 'o', 'a', 2, 'foob\u2026","blog_title":"Islands in the byte stream (legacy)","provider_name":"Hatena Blog","published":"2012-04-14 12:03:00","author_url":"https://blog.hatena.ne.jp/gfx/","provider_url":"https://hatena.blog","version":"1.0","author_name":"gfx","blog_url":"https://gfx.hatenadiary.org/","categories":[],"height":"190","width":"100%","title":" C++\u3067JavaScript\u306eString.prototype.replace\u3092\u5b9f\u73fe\u3067\u304d\u308b\u304b"}