func (typeMatcher *TypeMatcher) Initialize() error {
	typeMatcher.groupRegex = createGlobbingRegex(typeMatcher.Group)
	typeMatcher.versionRegex = createGlobbingRegex(typeMatcher.Version)
	typeMatcher.nameRegex = createGlobbingRegex(typeMatcher.Name)
	return nil
}
Initialize initializes the type matcher
package config
import (
	"fmt"
	"regexp"
	"strings"
	"github.com/Azure/k8s-infra/hack/generator/pkg/astmodel"
)
type TypeMatcher struct {
	Group      string `yaml:",omitempty"`
	groupRegex *regexp.Regexp
	Version      string `yaml:",omitempty"`
	versionRegex *regexp.Regexp
	Name      string `yaml:",omitempty"`
	nameRegex *regexp.Regexp
	Because string
}
var _ fmt.Stringer = &TypeMatcher{}