From 03c1820cef4f1b9002dac5f1c586e28a7f44f850 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 18 Oct 2022 19:15:46 +0300 Subject: [PATCH] Update channels.js --- scripts/db/schemes/channels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/db/schemes/channels.js b/scripts/db/schemes/channels.js index 085b7cc2..306812ab 100644 --- a/scripts/db/schemes/channels.js +++ b/scripts/db/schemes/channels.js @@ -6,7 +6,7 @@ module.exports = { .regex(/^[A-Za-z0-9]+\.[a-z]{2}$/) .required(), name: Joi.string() - .regex(/^[\sa-z\u00C0-\u00FF0-9-čâộăšİ!:&.+'/»#%°$@?()¡]+$/i) + .regex(/^[a-z0-9-!:&.+'/»#%°$@?()\s]+$/i) .required(), alt_names: Joi.array().items( Joi.string()