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 3af1236 commit 37584e2Copy full SHA for 37584e2
libvcs/parse/git.py
@@ -101,24 +101,23 @@
101
)
102
"""
103
104
-RE_PIP_SCHEME_WITH_HTTP = r"""
+RE_PIP_SCP_SCHEME = r"""
105
(?P<scheme>
106
(
107
git\+ssh|
108
- git\+https|
109
- git\+http|
110
git\+file
111
112
113
114
+
115
PIP_DEFAULT_MATCHERS: list[Matcher] = [
116
Matcher(
117
label="pip-url",
118
description="pip-style git URL",
119
pattern=re.compile(
120
rf"""
121
- {RE_PIP_SCHEME_WITH_HTTP}
+ {RE_PIP_SCHEME}
122
://
123
{RE_PATH}
124
{RE_SUFFIX}?
@@ -131,7 +130,7 @@
131
130
description="pip-style git ssh/scp URL",
132
133
134
- {RE_PIP_SCHEME}
+ {RE_PIP_SCP_SCHEME}
135
{SCP_REGEX}?
136
{RE_SUFFIX}
137
""",
0 commit comments