`match` function finished.