summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patterns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patterns.py b/patterns.py
index d5a99ce..fec5921 100644
--- a/patterns.py
+++ b/patterns.py
@@ -1,7 +1,7 @@
import re
#### RE PATTERNS ####
-re_contains_meow = re.compile(r'(me+o+w|喵|にゃん|nya+n)',re.IGNORECASE)
+re_contains_meow = re.compile(r'((?<!:)me+o+w|喵|にゃん|nya+n)',re.IGNORECASE)
re_contains_bird = re.compile(r'(鸟|鳥)',re.IGNORECASE)
#### MISC STRING PRESETS ####
cat_sounds = ["Meow!", "Mrrrow!", "Purr...", "Meee-OW!", "Mreoww!", "Nya~", "Mew?", "Rowr?", "Prrrr...", "Maow-maow!"]