From a03f1d9f69c4413e08f59da6749d9d52b42e5d1a Mon Sep 17 00:00:00 2001 From: Kevin Murphy Date: Mon, 20 Sep 2004 16:41:13 +0000 Subject: [PATCH] Fixed regexp to match changes made to UrbanDict site --- plugins/UrbanDict.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/UrbanDict.py b/plugins/UrbanDict.py index b96a57f4b..0781bc727 100644 --- a/plugins/UrbanDict.py +++ b/plugins/UrbanDict.py @@ -67,8 +67,9 @@ class UrbanDict(callbacks.Privmsg): irc.error(str(e)) _wordRE = re.compile(r'UrbanDictionary.com/(?P<word>.*?)') - _defUsageRE = re.compile(r'

(?P.*?)

' - r'

(?P.*?)

', + _defUsageRE = re.compile(r'

(?P.*?)

' + r'(?P.*?)

.*?
', re.MULTILINE | re.DOTALL) def urbandict(self, irc, msg, args): """[]