sbool nlLogic_matchMultiplePatterns(NLLogicChecker_v2 c, LS patterns, S s, NLLogicChecker_v2.Matching m) {
  ret nlLogic_matchMultiplePatterns(c, patterns, s, m.matches);
}

sbool nlLogic_matchMultiplePatterns(NLLogicChecker_v2 c, LS patterns, S s, SS matches) {
  for (S pat : unnull(patterns))
    if (c.matcher.match(pat, s, matches)) true;
  false;
}