Commit d3b91b6 1 parent b1d31f8 commit d3b91b6 Copy full SHA for d3b91b6
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ var validIssueTrackers = []IssueTracker{
40
40
}
41
41
42
42
var originPatterns = map [IssueTracker ]* regexp.Regexp {
43
- IssueTrackerJira : regexp .MustCompile (`^(https?://)?[a-zA-Z0-9\-]+(\.[a-zA-Z0-9]+)+(:[0-9]+)?$` ),
43
+ IssueTrackerJira : regexp .MustCompile (`^(https?://)?[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\- ]+)+(:[0-9]+)?$` ),
44
44
IssueTrackerGithub : regexp .MustCompile (`^(https?://)?(www\.)?github\.com/[\w-]+/[\w-]+` ),
45
- IssueTrackerGitlab : regexp .MustCompile (`^(https?://)?[a-zA-Z0-9\-]+(\.[a-zA-Z0-9]+)+(:[0-9]+)?/[\w-]+/[\w-]+$` ),
45
+ IssueTrackerGitlab : regexp .MustCompile (`^(https?://)?[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\- ]+)+(:[0-9]+)?/[\w-]+/[\w-]+$` ),
46
46
IssueTrackerPivotal : regexp .MustCompile (`^(https?://)?(www\.)?pivotaltracker\.com/n/projects/[0-9]+` ),
47
- IssueTrackerRedmine : regexp .MustCompile (`^(https?://)?[a-zA-Z0-9\-]+(\.[a-zA-Z0-9]+)+(:[0-9]+)?$` ),
47
+ IssueTrackerRedmine : regexp .MustCompile (`^(https?://)?[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\- ]+)+(:[0-9]+)?$` ),
48
48
IssueTrackerYoutrack : regexp .MustCompile (`^(https?://)?(www\.)?[0-9A-z-]{2,}\/?.*$` ),
49
49
IssueTrackerAzure : regexp .MustCompile (`^(https?://)?(www\.)?dev\.azure\.com/([a-zA-Z0-9]+)+\/([a-zA-Z0-9]+)+.*$` ),
50
50
}
You can’t perform that action at this time.
0 commit comments