We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09d4752 commit 10f5013Copy full SHA for 10f5013
pproxy/proto.py
@@ -4,7 +4,7 @@
4
packstr = lambda s, n=1: len(s).to_bytes(n, 'big') + s
5
6
def netloc_split(loc, default_host=None, default_port=None):
7
- ipv6 = re.fullmatch('\[([0-9a-fA-F:]*)\](?::(\d+)?)?', loc)
+ ipv6 = re.fullmatch(r'\[([0-9a-fA-F:]*)\](?::(\d+)?)?', loc)
8
if ipv6:
9
host_name, port = ipv6.groups()
10
elif ':' in loc:
0 commit comments