{"provider_name":"Hatena Blog","height":"190","author_name":"shuzo_kino","blog_title":"Bye Bye Moore","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","blog_url":"https://shuzo-kino.hateblo.jp/","type":"rich","url":"https://shuzo-kino.hateblo.jp/entry/2016/04/28/233339","published":"2016-04-28 23:33:39","provider_url":"https://hatena.blog","image_url":null,"width":"100%","categories":["javascript","regex"],"description":"javascript\u306eRegex#exec\u3092\u4f7f\u3046\u3068\u3001\u6b63\u898f\u8868\u73fe=>\u6587\u5b57\u5217\u306e\u9806\u3067\u4e26\u3079\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002 \u5b9f\u969b\u306e\u3068\u3053\u308d \u57fa\u672c\u7684\u6319\u52d5 \u7d50\u679c\u306f\u914d\u5217\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002 \u6700\u521d\uff1a\u30de\u30c3\u30c1\u3057\u305f\u5168\u6587 \u4ee5\u964d\uff1a\u30de\u30c3\u30c1\u3057\u305f\u30ef\u30fc\u30c9 index\uff1a\u30de\u30c3\u30c1\u3057\u305f\u5148\u982d\u6587\u5b57\u756a\u53f7 input\uff1a\u5165\u529b\u3057\u305f\u5168\u6587 (/(\\b)(\\w+)(,*)/g).exec(\"hoge\") //[ 'hoge', '', 'hoge', '', index: 0, input: 'hoge' ] \u5b9f\u4f8b 'Si Vis Pacem, Para Bellum'\u3068\u3044\u3046\u6587\u5b57\u3092\u5358\u8a9e\u3054\u3068\u306b\u5207\u308a\u5206\u3051\u3001\u6b21\u306f\u4f55\u6587\u5b57\u76ee\u304b\u3089\u59cb\u307e\u308b\u304b\u8868\u793a\u3059\u308b\u30b1\u30fc\u30b9\u3092\u8003\u3048\u307e\u3059\u3002 \u53c2\u8003\u3082\u3068\u3067\u306fwhile\u3067\u2026","title":"Regex#exec\u3092\u4f7f\u3046\u3068\u3001\u6b63\u898f\u8868\u73fe=>\u6587\u5b57\u5217\u306e\u9806\u3067\u4e26\u3079\u308b\u4e8b\u304c\u3067\u304d\u308b\u3002","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2016%2F04%2F28%2F233339\" title=\"Regex#exec\u3092\u4f7f\u3046\u3068\u3001\u6b63\u898f\u8868\u73fe=&gt;\u6587\u5b57\u5217\u306e\u9806\u3067\u4e26\u3079\u308b\u4e8b\u304c\u3067\u304d\u308b\u3002 - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}