mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-21 21:44:19 +00:00
🐛 Fix #100 by using re.DOTALL in all regexes
This commit is contained in:
parent
90e5141727
commit
3cc3693b9a
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ class Worker(threading.Thread):
|
||||||
if update.message.text is None:
|
if update.message.text is None:
|
||||||
continue
|
continue
|
||||||
# Try to match the regex with the received message
|
# Try to match the regex with the received message
|
||||||
match = re.search(regex, update.message.text)
|
match = re.search(regex, update.message.text, re.DOTALL)
|
||||||
# Ensure there is a match
|
# Ensure there is a match
|
||||||
if match is None:
|
if match is None:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue