From 53fa3562ccd69bf739812b03873477892706ce46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Passerini?= Date: Wed, 10 Aug 2016 13:49:18 +0200 Subject: [PATCH] Fixes #111 - Iceberg does not parse URLs containing dashes in usernames --- .../IceRemoteScpRepository.class/instance/parseUrl.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Iceberg.package/IceRemoteScpRepository.class/instance/parseUrl.st b/Iceberg.package/IceRemoteScpRepository.class/instance/parseUrl.st index 0436649120..ba992b519f 100644 --- a/Iceberg.package/IceRemoteScpRepository.class/instance/parseUrl.st +++ b/Iceberg.package/IceRemoteScpRepository.class/instance/parseUrl.st @@ -1,7 +1,7 @@ private parseUrl | matcher | - matcher := '(git@)?([\w.]+)\:([\w]+)/([\w\-]+)(\.git)?' asRegex. + matcher := '(git@)?([\w.]+)\:([\w\-]+)/([\w\-]+)(\.git)?' asRegex. (matcher matches: url) ifTrue: [ host := matcher subexpression: 3.