MCPcopy Create free account
hub / github.com/cel-expr/cel-go / isRegexFunctionName

Function isRegexFunctionName

cel/validator.go:606–608  ·  view source on GitHub ↗
(fn string)

Source from the content-addressed store, hash-verified

604}
605
606func isRegexFunctionName(fn string) bool {
607 return fn == overloads.Matches || fn == "matches" || fn == "regex.extract" || fn == "regex.extractAll" || fn == "regex.replace"
608}
609
610func validatorIntConfig(val *env.Validator, configKey string) (int, error) {
611 if limit, found := val.ConfigValue(configKey); found {

Callers 1

ValidateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected