Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -17,6 +17,7 @@ namespace DownloaderGithubClone | ... | @@ -17,6 +17,7 @@ namespace DownloaderGithubClone |
17 | string url = Console.ReadLine(); | 17 | string url = Console.ReadLine(); |
18 | //https://github.com/django/django.git | 18 | //https://github.com/django/django.git |
19 | 19 | ||
20 | + | ||
20 | string pattern = @"https://github.com/(?<ProjectName>\w+)/\w+\.git"; | 21 | string pattern = @"https://github.com/(?<ProjectName>\w+)/\w+\.git"; |
21 | 22 | ||
22 | var match = Regex.Match(url, pattern); | 23 | var match = Regex.Match(url, pattern); | ... | ... |
-
Please register or login to post a comment