From 97e01395fb26b74685d7e0701b16b6b8406d841c Mon Sep 17 00:00:00 2001 From: Kiooeht Date: Sat, 24 Dec 2011 10:45:05 -0800 Subject: [PATCH] Whoops, fix www. --- parsetools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsetools.py b/parsetools.py index 52caa5a..08e62bc 100644 --- a/parsetools.py +++ b/parsetools.py @@ -13,7 +13,7 @@ _gtag_begin = re.compile(r'(?i)') _ctag_end = re.compile(r'(?i)') _ctag_rgb = re.compile(r'\d+,\d+,\d+') _urlre = re.compile(r"(?i)https?://[^\s]+") -_url2re = re.compile(r"(?i)www.[^\s]+") +_url2re = re.compile(r"(?i)www\.[^\s]+") _memore = re.compile(r"(\s|^)(#[A-Za-z0-9_]+)") _handlere = re.compile(r"(\s|^)(@[A-Za-z0-9_]+)") _imgre = re.compile(r"""(?i)""")