mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
To capture a backreference is good.
This commit is contained in:
parent
4cc1e4ba04
commit
cb9986f0ac
@ -49,7 +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)
|
||||
httpUrlRe = re.compile(r"(https?://[^\])>\s]+)", re.I)
|
||||
|
||||
REFUSED = 'Connection refused.'
|
||||
TIMED_OUT = 'Connection timed out.'
|
||||
|
Loading…
Reference in New Issue
Block a user