sS regexpFirstGroup_any(S pat, Iterable inputs) { fOr (S input : inputs) try S group = regexpFirstGroup(pat, input); null; }