static bool match_multi(S s, S... patterns) { ret match_multi(s, null, patterns); } static bool match_multi(S s, Matches m, S... patterns) { for (S pattern : patterns) if (match(pattern, s, m)) true; false; }