aboutsummaryrefslogtreecommitdiff
path: root/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'doc.go')
-rw-r--r--doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc.go b/doc.go
index 597c75f..c721f77 100644
--- a/doc.go
+++ b/doc.go
@@ -102,7 +102,7 @@ call RegisterFunction from ConnectHook.
sql.Register("sqlite3_with_go_func",
&sqlite3.SQLiteDriver{
ConnectHook: func(conn *sqlite3.SQLiteConn) error {
- return conn.RegisterFunc("regex", regex, true)
+ return conn.RegisterFunc("regexp", regex, true)
},
})