func MatchesString(pattern string, s string) bool {

	// turn the input string into a repo uri
	curi, es := NewRepoURI(s)
	if es != nil {
		return false
	}

	// and check if that matches the pattern
	return curi.Matches(pattern)
}
// MatchesString checks if a string matches a given repository pattern
MatchesString checks if a string matches a given repository pattern
// MatchesString checks if a string matches a given repository pattern
func MatchesString(pattern string, s string) bool {
	curi, es := NewRepoURI(s)
	if es != nil {
		return false
	}
	return curi.Matches(pattern)
}
func MatchesString ( pattern string , s string ) bool { curi , es := NewRepoURI ( s ) if es != nil { return false } return curi . Matches ( pattern ) }
MatchesString checks if a string matches a given repository pattern
MatchesString checks if a string matches a given repository pattern
// turn the input string into a repo uri // and check if that matches the pattern