diff options
Diffstat (limited to 'lib/extras.py')
-rw-r--r-- | lib/extras.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extras.py b/lib/extras.py index ae77a88..3237cab 100644 --- a/lib/extras.py +++ b/lib/extras.py @@ -849,9 +849,9 @@ class CompositeCaster(object): return self._ctor(*attrs) _re_tokenize = regex.compile(r""" - \(? ([,\)]) # an empty token, representing NULL + \(? ([,)]) # an empty token, representing NULL | \(? " ((?: [^"] | "")*) " [,)] # or a quoted string -| \(? ([^",\)]+) [,\)] # or an unquoted string +| \(? ([^",)]+) [,)] # or an unquoted string """, regex.VERBOSE) _re_undouble = regex.compile(r'(["\\])\1') |