CompileRegexConstants compiles regex pattern string constants at program creation time and reports any regex pattern compile errors.
(regexOptimizations ...*RegexOptimization)
| 224 | // CompileRegexConstants compiles regex pattern string constants at program creation time and reports any regex pattern |
| 225 | // compile errors. |
| 226 | func CompileRegexConstants(regexOptimizations ...*RegexOptimization) PlannerOption { |
| 227 | return CustomDecoratorV2(decRegexOptimizer(regexOptimizations...)) |
| 228 | } |
| 229 | |
| 230 | // RegexProgramSizeLimit caps the maximum regex program plan size permitted during evaluation. |
| 231 | func RegexProgramSizeLimit(limit int) PlannerOption { |