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