Skip to content

Commit 9c5e01e

Browse files
committed
fix regex, fixes #168
1 parent f441a09 commit 9c5e01e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validators/url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
# port number
8282
r"(?::\d{2,5})?"
8383
# resource path
84-
u"(?:/[-a-z\u00a1-\uffff\U00010000-\U0010ffff0-9._~%!$&'()*+,;=:@/]*)?"
84+
r"(?:/[-a-z\u00a1-\uffff\U00010000-\U0010ffff0-9._~%!$&'()*+,;=:@/]*)?"
8585
# query string
8686
r"(?:\?\S*)?"
8787
# fragment

0 commit comments

Comments
 (0)