From 4b4e4ffd771c99bdddaccb6bf39d1e081e69cfc3 Mon Sep 17 00:00:00 2001 From: oddlama Date: Wed, 21 Sep 2022 13:44:39 +0200 Subject: [PATCH] Signal to support groups ending with equal symbol (=) (#670) --- apprise/plugins/NotifySignalAPI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apprise/plugins/NotifySignalAPI.py b/apprise/plugins/NotifySignalAPI.py index 625a6d42..a2442509 100644 --- a/apprise/plugins/NotifySignalAPI.py +++ b/apprise/plugins/NotifySignalAPI.py @@ -38,7 +38,7 @@ from ..AppriseLocale import gettext_lazy as _ GROUP_REGEX = re.compile( - r'^\s*((\@|\%40)?(group\.)|\@|\%40)(?P[a-z0-9_-]+)', re.I) + r'^\s*((\@|\%40)?(group\.)|\@|\%40)(?P[a-z0-9_=-]+)', re.I) class NotifySignalAPI(NotifyBase): @@ -123,7 +123,7 @@ class NotifySignalAPI(NotifyBase): 'name': _('Target Group ID'), 'type': 'string', 'prefix': '@', - 'regex': (r'^[a-z0-9_-]+$', 'i'), + 'regex': (r'^[a-z0-9_=-]+$', 'i'), 'map_to': 'targets', }, 'targets': {