diff --git a/plugins/Sourceforge.py b/plugins/Sourceforge.py index 883aee81a..2b669b580 100644 --- a/plugins/Sourceforge.py +++ b/plugins/Sourceforge.py @@ -242,7 +242,8 @@ class Sourceforge(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable): _sfTitle = re.compile(r'Detail:(\d+) - ([^<]+)', re.I) _linkType = re.compile(r'(\w+ \w+|\w+): Tracker Detailed View', re.I) def sfSnarfer(self, irc, msg, match): - r"https?://(?:www\.)?(?:sourceforge|sf)\.net/tracker/(?:index\.php)?\?(?:&?func=detail|&?aid=\d+|&?group_id=\d+|&?atid=\d+){4}" + r"https?://(?:www\.)?(?:sourceforge|sf)\.net/tracker/" \ + r".*\?(?:&?func=detail|&?aid=\d+|&?group_id=\d+|&?atid=\d+){4}" if not self.toggles.get('tracker', channel=msg.args[0]): return url = match.group(0)