sS dropSuffix_repeat_matchVBar(S patterns, S s) { new Matches m; while (matchEnd_vbar(patterns, s, m)) s = m.rest(); ret s; }