Added httpUrlRe.

This commit is contained in:
Jeremy Fincher 2004-09-29 18:51:04 +00:00
parent d147def54c
commit 3a6779bb6d

View File

@ -49,6 +49,7 @@ class WebError(Exception):
# XXX We should tighten this up a bit.
urlRe = re.compile(r"(\w+://[^\])>\s]+)", re.I)
httpUrlRe = re.compile(r"https?://[^\])>\s]", re.I)
REFUSED = 'Connection refused.'
TIMED_OUT = 'Connection timed out.'