Fixed invalid regexp in message renderer