Skip to content

Commit

Permalink
Fixes #111 - Iceberg does not parse URLs containing dashes in usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
npasserini committed Aug 10, 2016
1 parent 6c33489 commit 53fa356
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 53fa356

Please sign in to comment.