From 076cc6a63e39228decc27eb83272a635e1ef63ca Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 24 Feb 2021 01:34:41 +0100 Subject: [PATCH] Fixed regex format --- platypush/message/event/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/message/event/__init__.py b/platypush/message/event/__init__.py index 6c6cbe798d..51de55ceef 100644 --- a/platypush/message/event/__init__.py +++ b/platypush/message/event/__init__.py @@ -138,7 +138,7 @@ class Event(Message): condition_tokens.pop(0) else: - m = re.match(r'[^\\\]*\${(.+?)}', condition_token) + m = re.match(r'[^\\]*\${(.+?)}', condition_token) if m: argname = m.group(1) if argname not in result.parsed_args: