201202203204205206207208209210211
List<Object> result = new ArrayList<Object>(); MatchIterator iter = m.findAll(); Runtime runtime = context.runtime; while(iter.hasMore()) { result.add(runtime.newText(iter.nextMatch().group(0))); } return runtime.newList(result); } }));