We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fdb2da commit fc76056Copy full SHA for fc76056
sqlparse/keywords.py
@@ -86,7 +86,7 @@
86
(r'(NOT\s+)?(REGEXP)\b', tokens.Operator.Comparison),
87
# Check for keywords, also returns tokens.Name if regex matches
88
# but the match isn't a keyword.
89
- (r'[0-9_\w][_$#\w]*', PROCESS_AS_KEYWORD),
+ (r'\w[$#\w]*', PROCESS_AS_KEYWORD),
90
(r'[;:()\[\],\.]', tokens.Punctuation),
91
(r'[<>=~!]+', tokens.Operator.Comparison),
92
(r'[+/@#%^&|^-]+', tokens.Operator),
0 commit comments