Register the EREGEXP function with the EREGEXP keyword.
modified libpkg/pkgdb.c
@@ -63,7 +63,7 @@ pkgdb_regex(sqlite3_context *ctx, int argc, sqlite3_value **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -95,7 +95,7 @@ pkgdb_eregex(sqlite3_context *ctx, int argc, sqlite3_value **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -233,7 +233,6 @@ pkgdb_init(sqlite3 *sdb)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -259,6 +258,9 @@ pkgdb_open(struct pkgdb **db)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -295,12 +297,10 @@ pkgdb_query_init(struct pkgdb *db, const char *pattern, match_t match)
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|