From a630138679601adbfa4eb80c2a4a60ba41de9666 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 10 Jul 2012 00:10:16 -0400 Subject: [PATCH] Synonyms. --- earwigbot/commands/dictionary.py | 1 + 1 file changed, 1 insertion(+) diff --git a/earwigbot/commands/dictionary.py b/earwigbot/commands/dictionary.py index 897ea60..1f27980 100644 --- a/earwigbot/commands/dictionary.py +++ b/earwigbot/commands/dictionary.py @@ -118,6 +118,7 @@ class Dictionary(Command): substitutions = [ ("\[\[(.*?)\|(.*?)\]\]", r"\2"), ("\{\{alternative spelling of\|(.*?)\}\}", r"Alternative spelling of \1."), + ("\{\{synonym of\|(.*?)\}\}", r"Synonym of \1."), ] senses = []