From 35ed4d266e3b833e48afe950385c9e021d95c873 Mon Sep 17 00:00:00 2001 From: Easy Date: Tue, 2 Jul 2024 07:57:24 +0800 Subject: [PATCH] Update token regex (#1148) The new version of the token contains the - sign --- apprise/plugins/serverchan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apprise/plugins/serverchan.py b/apprise/plugins/serverchan.py index e3abaa35..667d2e95 100644 --- a/apprise/plugins/serverchan.py +++ b/apprise/plugins/serverchan.py @@ -74,7 +74,7 @@ class NotifyServerChan(NotifyBase): 'type': 'string', 'private': True, 'required': True, - 'regex': (r'^[a-z0-9]+$', 'i'), + 'regex': (r'^[a-z0-9-]+$', 'i'), }, })