Name returns the name of the regex program size limit validator.
()
| 495 | |
| 496 | // Name returns the name of the regex program size limit validator. |
| 497 | func (v regexProgramSizeLimitValidator) Name() string { |
| 498 | return regexProgramSizeLimitValidatorName |
| 499 | } |
| 500 | |
| 501 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name and the limit. |
| 502 | func (v regexProgramSizeLimitValidator) ToConfig() *env.Validator { |