Pular para o conteúdo

Devolve 1 se a cadeia de caracteres expr não corresponder à expressão regular especificada pelo padrão pat, e 0 caso contrário.

not_(<column>.regexp_match(<pattern>))
With an input table of:
┌─────────────────┐
│ my_clothes │
├─────────────────┤
│ plaid pants │
│ plaid hat │
│ plaid shirt │
│ shoes │
└─────────────────┘
not_(my_clothes.regexp_match('p*'))
┌─────────────────────────────────────┐
│ not_(my_clothes.regexp_match('p*')) │
├─────────────────────────────────────┤
│ false │
│ false │
│ false │
│ true │
└─────────────────────────────────────┘
<expr> NOT REGEXP <pattern>
SELECT 'databend' NOT REGEXP 'd*';
┌──────────────────────────────┐
│ ('databend' not regexp 'd*') │
├──────────────────────────────┤
│ 0 │
└──────────────────────────────┘