From 3a6779bb6d07657b5f7de65be2745b9ee04078ff Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 29 Sep 2004 18:51:04 +0000 Subject: [PATCH] Added httpUrlRe. --- src/webutils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webutils.py b/src/webutils.py index 155f11b85..99efbeb8f 100644 --- a/src/webutils.py +++ b/src/webutils.py @@ -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.'