docs: public int expect(Match args[]) throws MalformedPatternException, Exception {
          logger.trace("Searching for " + args.length + " patterns in the reader stream");
          List<Match> pairs = new ArrayList<>();
          for (int i = 0; i < args.length; i++) {
              Match match = args[i];
              pairs.add(match);
          }
          return expect(pairs);
      }