Fixed regex format

This commit is contained in:
Fabio Manganiello 2021-02-24 01:34:41 +01:00
parent d0a579cf4b
commit 076cc6a63e

View file

@ -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: