Skip to content

Commit 1578ecc

Browse files
AntoninHuautlove-linger
authored andcommitted
enhance: allow the . character in repository's owner/group part (SSH URL format) (#1701)
1 parent cf64a58 commit 1578ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Remote.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public partial class Remote
1818
[GeneratedRegex(@"^ssh://([\w\-]+@)?[\w\.\-]+(\:[0-9]+)?/([a-zA-z0-9~%][\w\-\./~%]*)?[a-zA-Z0-9](\.git)?$")]
1919
private static partial Regex REG_SSH2();
2020

21-
[GeneratedRegex(@"^git@([\w\.\-]+):([\w\-/~%]+/[\w\-\.%]+)\.git$")]
21+
[GeneratedRegex(@"^git@([\w\.\-]+):([\w\.\-/~%]+/[\w\-\.%]+)\.git$")]
2222
private static partial Regex REG_TO_VISIT_URL_CAPTURE();
2323

2424
private static readonly Regex[] URL_FORMATS = [

0 commit comments

Comments
 (0)