From 64dad53e3c79591fb17c68b7f4ecc7262f8fe3de Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Thu, 30 Nov 2023 13:14:37 +0300 Subject: [PATCH] Update channels.js --- scripts/schemes/channels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/schemes/channels.js b/scripts/schemes/channels.js index b6038719..20582cad 100644 --- a/scripts/schemes/channels.js +++ b/scripts/schemes/channels.js @@ -7,7 +7,7 @@ module.exports = { .regex(/^[A-Za-z0-9]+\.[a-z]{2}$/) .required(), name: Joi.string() - .regex(/^[a-z0-9-!:&.+'/»#%°$@?|¡–\s]+$/i) + .regex(/^[a-z0-9-!:&.+'/»#%°$@?|¡–\s_—]+$/i) .required(), alt_names: Joi.array().items( Joi.string()