func Wildcard(path string) *wildcard {
	matches := strings.Split(path, "/")
	return &wildcard{
		matches: matches,
	}
}
func Wildcard(path string) *wildcard {
	matches := strings.Split(path, "/")
	return &wildcard{
		matches: matches,
	}
}
// Wildcard matches paths with wildcard form.
// E.g., "/foo/v1/bar/v2" will match the form "/foo/*/bar/*",
// and "/foo/v1/v2/bar" will match the form "/foo/*/*/bar", but
// will not match "/foo/*/bar".