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