summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorFredy Wijaya <fredy.wijaya@gmail.com>2018-12-01 01:39:25 -0600
committerAndi Albrecht <albrecht.andi@gmail.com>2018-12-03 13:40:26 +0100
commit0e56a02e14b6e2d87b955928d819e77b0d3f5693 (patch)
tree4981a94a57f4a8bd03884dcde9fdf9d88aa4399d /sqlparse
parent488505f6c448e7eb0e4a1915bdc5b6130d44a68a (diff)
downloadsqlparse-0e56a02e14b6e2d87b955928d819e77b0d3f5693.tar.gz
Fix reindent issue for parenthesis (fixes issue 427)
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/keywords.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py
index e1579f1..28545d8 100644
--- a/sqlparse/keywords.py
+++ b/sqlparse/keywords.py
@@ -28,7 +28,7 @@ SQL_REGEX = {
(r'/\*[\s\S]*?\*/', tokens.Comment.Multiline),
(r'(\r\n|\r|\n)', tokens.Newline),
- (r'\s+', tokens.Whitespace),
+ (r'\s+?', tokens.Whitespace),
(r':=', tokens.Assignment),
(r'::', tokens.Punctuation),