Hello,

It is very nice to have sqlite3_create_function() interface, so I can
implement regexp() with Qt libraries that I use already.

Snippet from documentation says:

>The REGEXP operator is a special syntax for the regexp() user function.

So REGEXP is also an operator which works out of the box by calling
the same regexp() implementation, but how about creating these
'aliases' for other custom functions? Is it possible?

I am interested in implementing regexp operators used in PostgreSQL
such as ~, ~*, !~ and !~* (from
http://www.postgresql.org/docs/9.1/static/functions-matching.html#FUNCTIONS-POSIX-TABLE
) for sake of SQL portability, but I don't have any success for even
creating functions with these kind of names...

How this could be achieved? Do I have to make changes in parser for that?

Thank you,

Vincas.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to