;ò = ÄDc@scdkZdkiZdkTdkiZdkiZdki Z de i fd„ƒYZ e Z dS(N(s*s WebopediacBs¸tZdZeZdgZdgZd„Zd„ZdZ e i de i e i BƒZe i de i e i BƒZed„Zd „ZeeƒZd „Zeeed ƒgƒZRS( sEProvides an interface to the webopedia.com technical term dictionary.sURLs termSnarfercCs&tt|ƒ|_|ii|ƒdS(N(ssupers Webopediasselfs_Webopedia__parents__init__sirc(sselfsirc((s./Webopedia/plugin.pys__init__-scOs[y&tt|ƒi|||||ŽWn.t i i j o}|i t|ƒƒnXdS(N(ssupers Webopediasselfs callCommandsmethodsircsmsgsLskwargssutilsswebsErrorseserrorsstr(sselfsmethodsircsmsgsLskwargsse((s./Webopedia/plugin.pys callCommand1s&s // sO(?P.*?)\<.*?(?P.*?)sg(?P.*?)\<.*?.*?\s*(?P.*?)cCsðd} | od}|i}n,di|idƒƒ}d|}|i }d} y t i i d| |fƒ} WnNt i ij o<}|iid| t i i|ƒfƒ|id ƒnX|i| ƒ}|o|iƒd } | id d ƒ} |iƒd iƒiƒ} | iƒ}gi} |D]}| t i i"|ƒƒq1~ }xd|jo|i$dƒqYW|i%i|ƒ} | o|id|ƒqì| o|i&d| | fƒqì|i&| ƒn|id|ƒdS(Nswww.webopedia.comstotd.asps+s s SHARED/search_action.asp?term=%sss http://%s/%ss %s server returned the error: %ss]The server returned an unexpected error. Contact the bot administrator for more information.s definitions

s sterms.Could not find a definition for the term "%s."s%s: %s('ssitestermsurisselfs_totdResregexpsjoinssplits webSafeTerms _webopediaReshtmlsutilsswebsgetUrlsErrorseslogsinfosstrErrorsircserrorssearchsmatchs groupdictsssreplacesstripstitles termResults splitlinessLsappends_[1]slines htmlToTexts cleanLinessremoves_joinersreply(sselfsircsmsgsterms webSafeTermsesLslinesurissites_[1]ssshtmls termResultsregexps cleanLinessmatch((s./Webopedia/plugin.pys _wpBackend>s<    & 3 cCs^|id|idƒ odSn|iƒd}|iid|ƒ|i |||ƒdS(s7http://(?:www\.)webopedia.com/TERM/./(?P.*?).htmls termSnarferiNstermsSnarfing webopedia term %s.( sselfs registryValuesmsgsargssmatchs groupdictstermslogsinfos _wpBackendsirc(sselfsircsmsgsmatchsterm((s./Webopedia/plugin.pys termSnarferfs cCs|i|||ƒdS(s‹[] Returns a definition from webopedia.com. If is not specified, the "Term of the Day" is returned. N(sselfs _wpBackendsircsmsgsterm(sselfsircsmsgsargssterm((s./Webopedia/plugin.pys webopediaosstext(s__name__s __module__s__doc__sTruesthreadeds callBeforesregexpss__init__s callCommands_joinersrescompilesMsDOTALLs _webopediaRes_totdResNones _wpBackends termSnarfers urlSnarfers webopediaswraps additional(((s./Webopedia/plugin.pys Webopedia's        (   ( sres supybot.utilssutilsssupybot.commandsssupybot.ircutilssircutilsssupybot.registrysregistryssupybot.callbackss callbackss PluginRegexps WebopediasClass(s callbackssutilssresregistrys WebopediasClasssircutils((s./Webopedia/plugin.pys?s     Q