func (mre *MatchRegexp) Provision(caddy.Context) error {
	re, err := regexp.Compile(mre.Pattern)
	if err != nil {
		return fmt.Errorf("compiling matcher regexp %s: %v", mre.Pattern, err)
	}
	mre.compiled = re
	mre.phPrefix = regexpPlaceholderPrefix
	if mre.Name != "" {
		mre.phPrefix += "." + mre.Name
	}
	return nil
}
// Provision compiles the regular expression.
Provision compiles the regular expression.
// Provision compiles the regular expression .
func (mre *MatchRegexp) Provision(caddy.Context) error {
	re, err := regexp.Compile(mre.Pattern)
	if err != nil {
		return fmt.Errorf("compiling matcher regexp %s: %v", mre.Pattern, err)
	}
	mre.compiled = re
	mre.phPrefix = regexpPlaceholderPrefix
	if mre.Name != "" {
		mre.phPrefix += "." + mre.Name
	}
	return nil
}
func ( mre * MatchRegexp ) Provision ( caddy . Context ) error { re , err := regexp . Compile ( mre . Pattern ) if err != nil { return fmt . Errorf ( " " , mre . Pattern , err ) } mre . compiled = re mre . phPrefix = regexpPlaceholderPrefix if mre . Name != " " { mre . phPrefix += " " + mre . Name } return nil }
Provision compiles the regular expression.
Provision compiles the regular expression .