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

Function RegexProgramSizeLimit

interpreter/interpreter.go:231–233  ·  view source on GitHub ↗

RegexProgramSizeLimit caps the maximum regex program plan size permitted during evaluation.

(limit int)

Source from the content-addressed store, hash-verified

229
230// RegexProgramSizeLimit caps the maximum regex program plan size permitted during evaluation.
231func RegexProgramSizeLimit(limit int) PlannerOption {
232 return CustomDecoratorV2(decRegexProgramSizeLimit(limit))
233}
234
235type exprInterpreter struct {
236 dispatcher Dispatcher

Callers 2

newProgramFunction · 0.92

Calls 2

decRegexProgramSizeLimitFunction · 0.85
CustomDecoratorV2Function · 0.70

Tested by 1