Fix hangup if regex didn't match