We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bcbbec commit 44e0b79Copy full SHA for 44e0b79
1 file changed
libvcs/parse/git.py
@@ -35,7 +35,7 @@
35
# The server-side path. e.g. 'user/project.git'. Must start with an
36
# alphanumeric character so as not to be confusable with a Windows paths
37
# like 'C:/foo/bar' or 'C:\foo\bar'.
38
- (?P<path>(\w[^:]+))
+ (?P<path>(\w[^:.]+))
39
"""
40
41
RE_PATH = r"""
@@ -83,7 +83,7 @@
83
rf"""
84
^(?P<scheme>ssh)?
85
{SCP_REGEX}
86
- {RE_SUFFIX}
+ {RE_SUFFIX}?
87
""",
88
re.VERBOSE,
89
),
0 commit comments