pg-query-formatter
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "pg-query-formatter", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Lightweight query string formatter for node", | ||
@@ -5,0 +5,0 @@ "url": "http://github.com/naturalatlas/pg-query-formatter", |
@@ -82,3 +82,3 @@ var pgescape = require('pg-escape'); | ||
var text = this.fmt.replace(/%([%sILQ])|%\((.*)\)/g, function(match, type, obj_fmt){ | ||
var text = this.fmt.replace(/%([%sILQ])|%\(([^\)]*)\)/g, function(match, type, obj_fmt){ | ||
if ('%' == type) return '%'; | ||
@@ -85,0 +85,0 @@ |
22803