Neil Best wrote:

> Anyone out there have any insight on how to define a regexp() function
> for SQLite at run-time as described at
> http://www.sqlite.org/lang_expr.html#regexp

http://www.sqlite.org/capi3ref.html#sqlite3_create_function

This would need to be done in the driver (db/drivers/sqlite), probably
whenever a database is opened (db__driver_open_database, in db.c).

As for implementation: regcomp/regexec should be available on all Unix
systems, but you might need a separate library for Windows.

-- 
Glynn Clements <[EMAIL PROTECTED]>

_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser

Reply via email to