diff options
| author | Corey Zumar <corey.zumar@databricks.com> | 2019-12-25 00:22:02 -0800 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2020-01-16 09:19:34 +0100 |
| commit | 101084b790496ae916557f6407be18c4e528f776 (patch) | |
| tree | 3385dbee40c38d1019f98e1f71c571199b7e3d1f /sqlparse | |
| parent | 6f72de13a3db480ed2909965b6e8cd02ac7fdf7e (diff) | |
| download | sqlparse-101084b790496ae916557f6407be18c4e528f776.tar.gz | |
More test cases
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 ad37c89..9c37e50 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -89,7 +89,7 @@ SQL_REGEX = { r'(EXPLODE|INLINE|PARSE_URL_TUPLE|POSEXPLODE|STACK)\b', tokens.Keyword), (r"(AT|WITH')\s+TIME\s+ZONE\s+'[^']+'", tokens.Keyword.TZCast), - (r'(NOT\s)?(LIKE|ILIKE)\b', tokens.Operator.Comparison), + (r'(NOT\s+)?(LIKE|ILIKE)\b', tokens.Operator.Comparison), (r'[0-9_A-ZÀ-Ü][_$#\w]*', is_keyword), (r'[;:()\[\],\.]', tokens.Punctuation), (r'[<>=~!]+', tokens.Operator.Comparison), |
