exit matched