From c38d2737d3d9fd6d41d9ec8eaf901fc04092dadd Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 3 Aug 2010 11:17:10 +0200 Subject: url_titles: Ignore # in URLs. --- modules/url_titles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/url_titles.py b/modules/url_titles.py index c4f89f4..fe6282b 100644 --- a/modules/url_titles.py +++ b/modules/url_titles.py @@ -8,7 +8,7 @@ import re, urllib2, htmlentitydefs, gzip, cStringIO, time from PIL import ImageFile class Module: - re_http = re.compile(r'(https?://[^\ ]+)') + re_http = re.compile(r'(https?://[^\ #]+)') re_title = re.compile(r']*?>(.*?)', re.S | re.I) def __init__(self, bot): -- cgit v1.2.3