Name returns the name of the regex program size limit validator.
()
| 504 | |
| 505 | // Name returns the name of the regex program size limit validator. |
| 506 | func (v regexProgramSizeLimitValidator) Name() string { |
| 507 | return regexProgramSizeLimitValidatorName |
| 508 | } |
| 509 | |
| 510 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name and the limit. |
| 511 | func (v regexProgramSizeLimitValidator) ToConfig() *env.Validator { |