func (m MatchExpression) Match(r *http.Request) bool {
	celReq := celHTTPRequest{r}
	out, _, err := m.prg.Eval(celReq)
	if err != nil {
		m.log.Error("evaluating expression", zap.Error(err))
		SetVar(r.Context(), MatcherErrorVarKey, err)
		return false
	}
	if outBool, ok := out.Value().(bool); ok {
		return outBool
	}
	return false
}
// Match returns true if r matches m.
Match returns true if r matches m.
// Match returns true if r matches m .
func (m MatchExpression) Match(r *http.Request) bool {
	celReq := celHTTPRequest{r}
	out, _, err := m.prg.Eval(celReq)
	if err != nil {
		m.log.Error("evaluating expression", zap.Error(err))
		SetVar(r.Context(), MatcherErrorVarKey, err)
		return false
	}
	if outBool, ok := out.Value().(bool); ok {
		return outBool
	}
	return false
}
func ( m MatchExpression ) Match ( r * http . Request ) bool { celReq := celHTTPRequest { r } out , _ , err := m . prg . Eval ( celReq ) if err != nil { m . log . Error ( " " , zap . Error ( err ) ) SetVar ( r . Context ( ) , MatcherErrorVarKey , err ) return false } if outBool , ok := out . Value ( ) . ( bool ) ; ok { return outBool } return false }
Match returns true if r matches m.
Match returns true if r matches m .