From ba97e10af946877a8add47caaf7d8dfa62ac7830 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 10 Jul 2012 00:41:24 -0400 Subject: [PATCH] Fix that a bit. I give up on this command now. --- earwigbot/commands/dictionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/commands/dictionary.py b/earwigbot/commands/dictionary.py index 41cdbb5..6450be7 100644 --- a/earwigbot/commands/dictionary.py +++ b/earwigbot/commands/dictionary.py @@ -130,7 +130,7 @@ class Dictionary(Command): ("\{\{alternative spelling of\|(.*?)\}\}", r"Alternative spelling of \1."), ("\{\{synonym of\|(.*?)\}\}", r"Synonym of \1."), - ("\{\{surname(\||\}\})", r"A surname."), + ("\{\{surname(.*?)\}\}", r"A surname."), ("\{\{given name\|(.*?)(\||\}\})", r"A \1 given name."), ]