diff options
author | Fredy Wijaya <fredy.wijaya@gmail.com> | 2018-12-01 01:39:25 -0600 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2018-12-03 13:40:26 +0100 |
commit | 0e56a02e14b6e2d87b955928d819e77b0d3f5693 (patch) | |
tree | 4981a94a57f4a8bd03884dcde9fdf9d88aa4399d /sqlparse | |
parent | 488505f6c448e7eb0e4a1915bdc5b6130d44a68a (diff) | |
download | sqlparse-0e56a02e14b6e2d87b955928d819e77b0d3f5693.tar.gz |
Fix reindent issue for parenthesis (fixes issue 427)
Diffstat (limited to 'sqlparse')
-rw-r--r-- | sqlparse/keywords.py | 2 |
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), |