extract 'matching case' to its own sentence, twice, per @crell and @ircmaxell