The REGEXP operator is defined to redirect to the regexp
user function.
Except GLOB
, no other operators are defined in this way.
If you want to call other functions, you have to call them as functions:
SELECT ImageID FROM Images WHERE regexp('truc', Filename);
SELECT ImageID FROM Images WHERE regexp2('truc', Filename);