NewRegexNotInPredicate checks for values that not match against any of the given regexs. Memoized and resets on each row group.
(regs []string)
| 175 | // NewRegexNotInPredicate checks for values that not match against any of the given regexs. |
| 176 | // Memoized and resets on each row group. |
| 177 | func NewRegexNotInPredicate(regs []string) (Predicate, error) { |
| 178 | return newRegexPredicate(regs, false) |
| 179 | } |
| 180 | |
| 181 | func newRegexPredicate(regs []string, shouldMatch bool) (Predicate, error) { |
| 182 | m, err := regexp.NewRegexp(regs, shouldMatch) |