summaryrefslogtreecommitdiff
path: root/sqlparse/keywords.py
diff options
context:
space:
mode:
Diffstat (limited to 'sqlparse/keywords.py')
-rw-r--r--sqlparse/keywords.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py
index ad85368..602051a 100644
--- a/sqlparse/keywords.py
+++ b/sqlparse/keywords.py
@@ -43,6 +43,8 @@ SQL_REGEX = {
(r'%(\(\w+\))?s', tokens.Name.Placeholder),
(r'(?<!\w)[$:?]\w+', tokens.Name.Placeholder),
+ (r'\\\w+', tokens.Command),
+
# FIXME(andi): VALUES shouldn't be listed here
# see https://github.com/andialbrecht/sqlparse/pull/64
# IN is special, it may be followed by a parenthesis, but