6566676869707172737475
t3.set(1, "^\\/search\\/iy\\/(.*?)\\/.*"); t3.set(2, 2); RegexExtract func = new RegexExtract(); String r = func.exec(t1); assertTrue(r.equals("term1")); r = func.exec(t2); assertTrue(r==null); r = func.exec(t3); assertTrue(r==null);
6768697071727374757677
RegexExtract func = new RegexExtract(); String r = func.exec(t1); assertTrue(r.equals("term1")); r = func.exec(t2); assertTrue(r==null); r = func.exec(t3); assertTrue(r==null); } }
697071727374757677
6869707172737475767778
7071727374757677787980
RegexExtract func = new RegexExtract(); String r = func.exec(t1); assertTrue(r.equals("term1")); r = func.exec(t2); assertTrue(r==null); r = func.exec(t3); assertTrue(r==null); }
7273747576777879808182
RegexExtract func = new RegexExtract(); String r = func.exec(t1); assertTrue(r.equals("term1")); r = func.exec(t2); assertTrue(r==null); r = func.exec(t3); assertTrue(r==null); } @Test public void testRegexExtractAll() throws IOException {