code: func urlsMatchStr(glob string, target string) (bool, error) {
  	globUrl, err := parseSchemelessUrl(glob)
  	if err != nil {
  		return false, err
  	}
  	targetUrl, err := parseSchemelessUrl(target)
  	if err != nil {
  		return false, err
  	}
  	return urlsMatch(globUrl, targetUrl)
  }
docs: // overloaded version of urlsMatch, operating on strings instead of URLs.