I know that in order for using a regular expression with SQLite, I need to install a module for regular expressions as described on this answer.
However, even though the query
select *
from mytable
WHERE mycolumn is not NULL and mycolumn regexp('^Word.*$')
works fine, if I try to use:
select *
from mytable
WHERE mycolumn is not NULL and mycolumn is not regexp('^Word.*$')
I receive an error telling me:
wrong number of arguments to function regexp().
What am I missing? Is it a syntax error?
Or should I take a different approach to get the inverted pattern of a regular expression on SQLite?