func (rURI *RepoURI) CanonicalWith(lines []CanLine) (canonical string) {
	for _, line := range lines {
		if rURI.Matches(line.Pattern) {
			return rURI.Canonical(line.Canonical)
		}
	}

	return
}
// CanonicalWith returns the canonical url given a set of lines
CanonicalWith returns the canonical url given a set of lines
// CanonicalWith returns the canonical url given a set of lines
func (rURI *RepoURI) CanonicalWith(lines []CanLine) (canonical string) {
	for _, line := range lines {
		if rURI.Matches(line.Pattern) {
			return rURI.Canonical(line.Canonical)
		}
	}
	return
}
func ( rURI * RepoURI ) CanonicalWith ( lines [ ] CanLine ) ( canonical string ) { for _ , line := range lines { if rURI . Matches ( line . Pattern ) { return rURI . Canonical ( line . Canonical ) } } return }
CanonicalWith returns the canonical url given a set of lines
CanonicalWith returns the canonical url given a set of lines