2013-10-19から1日間の記事一覧
試しにやってみた的な。 @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 = R</foo>…