func NewGorillaPath(pattern string, strictSlash bool) (*GorillaPath, error) {
	regexpPattern, err := gorillaPattern(pattern, false, false, strictSlash)
	if err != nil {
		return nil, err
	}
	r, err := CompileRegexp(regexpPattern)
	if err != nil {
		return nil, err
	}
	return &GorillaPath{*r, pattern, strictSlash}, nil
}
func NewGorillaPath(pattern string, strictSlash bool) (*GorillaPath, error) {
	regexpPattern, err := gorillaPattern(pattern, false, false, strictSlash)
	if err != nil {
		return nil, err
	}
	r, err := CompileRegexp(regexpPattern)
	if err != nil {
		return nil, err
	}
	return &GorillaPath{*r, pattern, strictSlash}, nil
}
func NewGorillaPath ( pattern string , strictSlash bool ) ( * GorillaPath , error ) { regexpPattern , err := gorillaPattern ( pattern , false , false , strictSlash ) if err != nil { return nil , err } r , err := CompileRegexp ( regexpPattern ) if err != nil { return nil , err } return & GorillaPath { * r , pattern , strictSlash } , nil }
// GorillaPath ----------------------------------------------------------------
GorillaPath ----------------------------------------------------------------