Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for metacharacter (0.1 sec)

  1. pilot/pkg/networking/core/route/route.go

    	if in == nil || in.MatchType == nil {
    		return true
    	}
    
    	catchall := false
    
    	switch m := in.MatchType.(type) {
    	case *networking.StringMatch_Regex:
    		// `*` is NOT a RE2 style regex, it's a metacharacter.
    		// It will be translated as present_match, rather than matching "any string".
    		// see https://github.com/istio/istio/pull/20629
    		catchall = m.Regex == "*"
    	}
    
    	return catchall
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top