diff --git a/earwigbot/commands/dictionary.py b/earwigbot/commands/dictionary.py index 3d53780..5f77ad1 100644 --- a/earwigbot/commands/dictionary.py +++ b/earwigbot/commands/dictionary.py @@ -138,7 +138,7 @@ class Dictionary(Command): senses = [] for line in body.splitlines(): line = line.strip() - if re.match("#\s*[^:*]", line): + if re.match("#\s*[^:*#]", line): for regex, repl in substitutions: line = re.sub(regex, repl, line) line = self.strip_templates(line)