code: func ManifestURLsAllowRegexp(r *regexp.Regexp) RegistryOption {
  	return func(registry *registry) error {
  		registry.manifestURLs.allow = r
  		return nil
  	}
  }
docs: // ManifestURLsAllowRegexp is a functional option for NewRegistry.