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): """[]