diff options
author | Georg Brandl <georg@python.org> | 2014-10-07 23:34:09 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-07 23:34:09 +0200 |
commit | 94dd20209796aa626bfc4b50f964eb9a6e9dc504 (patch) | |
tree | 27d0f4508735fd9c27d2a664ed138823d13b33a6 /pygments/lexers/sql.py | |
parent | d937c10746dff2748172822fd94de3a6c056c2ad (diff) | |
download | pygments-94dd20209796aa626bfc4b50f964eb9a6e9dc504.tar.gz |
Closes #1008: allow $ in names for Oracle SQL.
Diffstat (limited to 'pygments/lexers/sql.py')
-rw-r--r-- | pygments/lexers/sql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/sql.py b/pygments/lexers/sql.py index 3112fc3e..91e2237c 100644 --- a/pygments/lexers/sql.py +++ b/pygments/lexers/sql.py @@ -442,7 +442,7 @@ class SqlLexer(RegexLexer): # TODO: Backslash escapes? (r"'(''|[^'])*'", String.Single), (r'"(""|[^"])*"', String.Symbol), # not a real string literal in ANSI SQL - (r'[a-z_]\w*', Name), + (r'[a-z_][\w\$]*', Name), # allow $s in strings for Oracle (r'[;:()\[\],\.]', Punctuation) ], 'multiline-comments': [ |