Tuple t3 = tupleFactory.newTuple(2);
t3.set(0, null);
t3.set(1, matchRegex);
RegexExtractAll func = new RegexExtractAll();
Tuple r = func.exec(t1);
assertEquals(r.size(), 2);
assertEquals("this", r.get(0));
assertEquals("match", r.get(1));
r = func.exec(t2);