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

Function RegexProgramSizeLimit

interpreter/interpreter.go:237–239  ·  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

235
236// RegexProgramSizeLimit caps the maximum regex program plan size permitted during evaluation.
237func RegexProgramSizeLimit(limit int) PlannerOption {
238 return CustomDecoratorV2(decRegexProgramSizeLimit(limit))
239}
240
241type exprInterpreter struct {
242 dispatcher Dispatcher

Callers 2

newProgramFunction · 0.92

Calls 2

decRegexProgramSizeLimitFunction · 0.85
CustomDecoratorV2Function · 0.70

Tested by 1