static LS matchX_vbar_allRests(S pat, S s) { new LS l; new Matches m; for (S pat2 : tok_splitAtVerticalBar(pat)) if (matchX(pat2, s, m)) l.add(m.rest()); ret l; }