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

Function isRegexFunctionName

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

Source from the content-addressed store, hash-verified

595}
596
597func isRegexFunctionName(fn string) bool {
598 return fn == overloads.Matches || fn == "matches" || fn == "regex.extract" || fn == "regex.extractAll" || fn == "regex.replace"
599}
600
601func validatorIntConfig(val *env.Validator, configKey string) (int, error) {
602 if limit, found := val.ConfigValue(configKey); found {

Callers 1

ValidateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected