static boolean match_vbar(S pat, S s) { return match_vbar(pat, s, null); } static boolean match_vbar(S pat, S s, Matches matches) { for (S pat2 : splitAtTokens(pat, ll("|"))) if (match3(pat2, s, matches)) true; false; }