diff --git a/plugins/Google/plugin.py b/plugins/Google/plugin.py index 7e0caa5b6..4e9250820 100644 --- a/plugins/Google/plugin.py +++ b/plugins/Google/plugin.py @@ -333,12 +333,12 @@ class Google(callbacks.PluginRegexp): url = r'http://www.google.com/ig/calculator?hl=en&q=' + s return url - @internationalizeDocstring _calcRe1 = re.compile(r']*>(.*?)', re.I) _calcRe2 = re.compile(r']*>(?:)?(.*?)(?:)?', re.I | re.S) _calcSupRe = re.compile(r'(.*?)', re.I) _calcFontRe = re.compile(r'(.*?)') _calcTimesRe = re.compile(r'&(?:times|#215);') + @internationalizeDocstring def calc(self, irc, msg, args, expr): """