From 7b2244eaa4dd69583f99510c2657670afdf721ae Mon Sep 17 00:00:00 2001 From: Tim Retout Date: Thu, 24 Mar 2016 15:58:39 +0000 Subject: [PATCH] Fix sqlite "regexp" function name in documentation --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }, })