From fcd4919bab60b99ddf376dbce689c949d849f5fe Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 31 Oct 2003 22:48:43 +0000 Subject: [PATCH] Fix the snarfer re so that it does match extraneous text --- plugins/Bugzilla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Bugzilla.py b/plugins/Bugzilla.py index a9834c10a..1db9d8134 100644 --- a/plugins/Bugzilla.py +++ b/plugins/Bugzilla.py @@ -168,7 +168,7 @@ class Bugzilla(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable): irc.reply(msg, 'Defined bugzillae: %s' % ' '.join(results)) return def bzSnarfer(self, irc, msg, match): - r"(.*)/show_bug.cgi\?id=([0-9]+)" + r"(http://\S+)/show_bug.cgi\?id=([0-9]+)" if not self.toggles.get('bug', channel=msg.args[0]): return queryurl = '%s/xml.cgi?id=%s' % (match.group(1), match.group(2))