From 515526f9cb5b2bae7af3826c3cb1b1fbeed337ab Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 3 Sep 2022 03:57:03 +0200 Subject: [PATCH] fix hat name regex --- files/helpers/regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index dc438294c..35e44cca0 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -14,7 +14,7 @@ marseyaward_title_regex = re.compile("( *]+>)+", flags=re.A) marsey_regex = re.compile("[a-z0-9]{1,30}", flags=re.A) -hat_regex = re.compile("[a-zA-Z0-9]{1,50}", flags=re.A) +hat_regex = re.compile("[a-zA-Z0-9\-() ,_]{1,50}", flags=re.A) tags_regex = re.compile("[a-z0-9: ]{1,200}", flags=re.A)