diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2020-10-19 08:41:26 +0200 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2020-10-19 08:41:26 +0200 |
| commit | e575ae2c37359ab51b23ce44ccda4bb9bbfd3a5f (patch) | |
| tree | 742be49c60baa092ebc1c042af6838c18e3c9a1d /sqlparse | |
| parent | fe39072fc24e879034fb1e439fb0a47c7c66d4a2 (diff) | |
| download | sqlparse-e575ae2c37359ab51b23ce44ccda4bb9bbfd3a5f.tar.gz | |
Fix parsing of backticks (fixes #588).
The backticks in this operator regex was introduced in
c794c97531c09e66b6a7ffac76626a727ad02f5e. Pretty sure it was by mistake.
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 a5deb93..c967b26 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -93,7 +93,7 @@ SQL_REGEX = { (r'[0-9_A-ZÀ-Ü][_$#\w]*', is_keyword), (r'[;:()\[\],\.]', tokens.Punctuation), (r'[<>=~!]+', tokens.Operator.Comparison), - (r'[+/@#%^&|`?^-]+', tokens.Operator), + (r'[+/@#%^&|^-]+', tokens.Operator), ]} FLAGS = re.IGNORECASE | re.UNICODE |
