From e0887194f811fe3af622f2e72c68c127a334c78f Mon Sep 17 00:00:00 2001 From: Kevin Murphy Date: Tue, 4 Jan 2005 00:45:40 +0000 Subject: [PATCH] Updated for new site format --- plugins/UrbanDict.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/UrbanDict.py b/plugins/UrbanDict.py index 0781bc727..d84304f05 100644 --- a/plugins/UrbanDict.py +++ b/plugins/UrbanDict.py @@ -67,9 +67,10 @@ 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'
\s*
' + r'(?P.*?)
\s*
(?P.*?)
\s*
.*?
\s*
\s*', re.MULTILINE | re.DOTALL) def urbandict(self, irc, msg, args): """[]