(_ *Env, _, arg ast.Expr)
| 327 | } |
| 328 | |
| 329 | func compileRegex(_ *Env, _, arg ast.Expr) error { |
| 330 | pattern := arg.AsLiteral().Value().(string) |
| 331 | _, err := regexp.Compile(pattern) |
| 332 | return err |
| 333 | } |
| 334 | |
| 335 | type homogeneousAggregateLiteralValidator struct{} |
| 336 |