We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4652564 commit 4680b52Copy full SHA for 4680b52
1 file changed
libvcs/parse/hg.py
@@ -26,8 +26,8 @@
26
from .base import Matcher, MatcherRegistry, URLProtocol
27
28
RE_PATH = r"""
29
- ((?P<user>.*)@)?
30
- (?P<hostname>([^/:]+))
+ ((?P<user>\w+)@)?
+ (?P<hostname>([^/:@]+))
31
(:(?P<port>\d{1,5}))?
32
(?P<separator>/)?
33
(?P<path>
0 commit comments