From cf8126223b6278b13b9fac66eb7255521eab7cdb Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 9 Nov 2011 10:04:53 +0100 Subject: [PATCH] Google: Apply gholms's patch to fix @calc match. --- plugins/Google/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Google/plugin.py b/plugins/Google/plugin.py index de5814b0e..fb2fa2a4d 100644 --- a/plugins/Google/plugin.py +++ b/plugins/Google/plugin.py @@ -327,7 +327,7 @@ class Google(callbacks.PluginRegexp): url = r'http://google.com/search?q=' + s return url - _calcRe = re.compile(r'(.*?)', re.I) + _calcRe = re.compile(r']*>(?:)?(.*?)(?:)?', re.I | re.S) _calcSupRe = re.compile(r'(.*?)', re.I) _calcFontRe = re.compile(r'(.*?)') _calcTimesRe = re.compile(r'&(?:times|#215);')