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)""")