missing pattern match end