static LS regexpAllFirstGroups(S pattern, S text) { new LS l; Matcher matcher = regexp(pattern, text); while (matcher.find()) l.add(matcher.group(1)); ret l; }