static LL regexpAllGroups(S pattern, S text) { new LL l; Matcher matcher = Pattern.compile(pattern).matcher(text); while (matcher.find()) l.add(regexpGetGroups(matcher)); ret l; }