{"height":"190","published":"2013-10-19 12:07:08","author_url":"https://blog.hatena.ne.jp/sonota88/","url":"https://memo88.hatenablog.com/entry/20131019/1382152028","provider_url":"https://hatena.blog","categories":["Java"],"description":"\u8a66\u3057\u306b\u3084\u3063\u3066\u307f\u305f\u7684\u306a\u3002 @Test public void test_js_regexp() throws Exception { String text = lines( \"line 1: \", \"line 2: <foo>foo_content</foo>\", \"line 3: \" ); String fooContent = getByRegExp( text, lines( \" text.match(/<foo>(.+?)<\\\\/foo>/); \", \" result = RegExp.$1; \" ) ); assertThat(fooContent, is(\"foo_content\"\u2026","blog_title":"memo486","version":"1.0","author_name":"sonota88","width":"100%","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F20131019%2F1382152028\" title=\" Java\u3067\u6b63\u898f\u8868\u73fe\u4f7f\u3046\u306e\u304c\u3060\u308b\u3044\u306e\u3067JavaScript\u3067\u307b\u3052\u307b\u3052 - memo486\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" Java\u3067\u6b63\u898f\u8868\u73fe\u4f7f\u3046\u306e\u304c\u3060\u308b\u3044\u306e\u3067JavaScript\u3067\u307b\u3052\u307b\u3052","blog_url":"https://memo88.hatenablog.com/","provider_name":"Hatena Blog","image_url":null}