Lookahead matcher for TrainBenchmark