Fixed regex format

This commit is contained in:
Fabio Manganiello 2021-02-24 01:34:41 +01:00
parent d0a579cf4b
commit 076cc6a63e
1 changed files with 1 additions and 1 deletions

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: