sqlite: add regexp extension

This allows the user of sqlite3 to use regular expressions in select statements.