regexp.go
func NewRegexpHost(pattern string) (*RegexpHost, error) {
	r, err := CompileRegexp(pattern)
	if err != nil {
		return nil, err
	}
	return &RegexpHost{*r}, nil
}
func NewRegexpHost(pattern string) (*RegexpHost, error) {
	r, err := CompileRegexp(pattern)
	if err != nil {
		return nil, err
	}
	return &RegexpHost{*r}, nil
}
func NewRegexpHost ( pattern string ) ( * RegexpHost , error ) { r , err := CompileRegexp ( pattern ) if err != nil { return nil , err } return & RegexpHost { * r } , nil }
// RegexpHost -----------------------------------------------------------------
// NewRegexpHost returns a regexp matcher for the given URL host pattern.
RegexpHost ----------------------------------------------------------------- NewRegexpHost returns a regexp matcher for the given URL host pattern .