mirror of
https://github.com/caronc/apprise.git
synced 2024-12-29 01:59:11 +01:00
Signal to support groups ending with equal symbol (=) (#670)
This commit is contained in:
parent
2d33935e10
commit
4b4e4ffd77
@ -38,7 +38,7 @@ from ..AppriseLocale import gettext_lazy as _
|
||||
|
||||
|
||||
GROUP_REGEX = re.compile(
|
||||
r'^\s*((\@|\%40)?(group\.)|\@|\%40)(?P<group>[a-z0-9_-]+)', re.I)
|
||||
r'^\s*((\@|\%40)?(group\.)|\@|\%40)(?P<group>[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': {
|
||||
|
Loading…
Reference in New Issue
Block a user