Fix regexp that allows optional status message.