static S matchStartAny_returnPattern(Collection patterns, S s, Matches m) { for (S pattern : unnull(patterns)) if (matchStart(pattern, s, m)) ret pattern; null; } static S matchStartAny_returnPattern(Collection patterns, S s) { ret matchStartAny_returnPattern(patterns, s, null); }