ValidateRegexProgramSizeLimit ensures that regex pattern literals do not exceed the specified regex program size limit.
(limit int)
| 267 | |
| 268 | // ValidateRegexProgramSizeLimit ensures that regex pattern literals do not exceed the specified regex program size limit. |
| 269 | func ValidateRegexProgramSizeLimit(limit int) ASTValidator { |
| 270 | return regexProgramSizeLimitValidator{limit: limit} |
| 271 | } |
| 272 | |
| 273 | type argChecker func(env *Env, call, arg ast.Expr) error |
| 274 |
no outgoing calls