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

Function ValidateRegexProgramSizeLimit

cel/validator.go:259–261  ·  view source on GitHub ↗

ValidateRegexProgramSizeLimit ensures that regex pattern literals do not exceed the specified regex program size limit.

(limit int)

Source from the content-addressed store, hash-verified

257
258// ValidateRegexProgramSizeLimit ensures that regex pattern literals do not exceed the specified regex program size limit.
259func ValidateRegexProgramSizeLimit(limit int) ASTValidator {
260 return regexProgramSizeLimitValidator{limit: limit}
261}
262
263type argChecker func(env *Env, call, arg ast.Expr) error
264

Calls

no outgoing calls