X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=client%2Fquery.go;h=7bf503477d56a81c69e16090f06d1a8332ff1fbf;hb=refs%2Fheads%2Fmaster;hp=d1224f40f73cc79ecc6dba3d12154f4ba19c8cd0;hpb=51d5f25b6bcc6186bbb77489aa683fde405cf9b2;p=sysdb%2Fgo.git diff --git a/client/query.go b/client/query.go index d1224f4..7bf5034 100644 --- a/client/query.go +++ b/client/query.go @@ -66,7 +66,7 @@ func stringify(values ...interface{}) ([]interface{}, error) { // string. Let's just assume that this pattern never occurs in a real query // string (or else, users will have to work around this by not using // QueryString()). -var badArgRE = regexp.MustCompile(`%!.?\(.+`) +var badArgRE = regexp.MustCompile(`%!?[A-Za-z]?\(.+`) // QueryString formats a query string. The query q may include printf string // verbs (%s) for each argument. The arguments may be of type Identifier,