From e71ea224cccc314a35adc9c3f6bc6408094ff41b Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 23 Dec 2009 15:21:43 +0100 Subject: Fixed title regex. --- 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 fbca0d9..0f7d64a 100644 --- a/modules/url_titles.py +++ b/modules/url_titles.py @@ -8,7 +8,7 @@ import re, urllib2, htmlentitydefs, gzip, cStringIO, spotimeta class Module: re_http = re.compile(r'(http://[^\ ]+)') - re_title = re.compile(r']+?>(.*?)', re.S | re.I) + re_title = re.compile(r']*?>(.*?)', re.S | re.I) metadata = spotimeta.Metadata(cache = {}) def __init__(self, bot): -- cgit v1.2.3