static LS extractSingleStarMatches(S pat, LS l) { new LS out; new Matches m; for (S s : unnull(l)) if (match(pat, s, m)) out.add($1); ret out; }