diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-04-12 11:13:38 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-04-12 11:13:38 +0100 |
commit | 6393f65faea81b5fde4f3a86abf778c7c5289305 (patch) | |
tree | 2d49f80f4d595f33f8ceed8bcaf0cfa5cae537a5 /pygments/lexers/postgres.py | |
parent | a3432e7201d046ef7254b3d55b20be350e484bca (diff) | |
download | pygments-6393f65faea81b5fde4f3a86abf778c7c5289305.tar.gz |
Consider bracket punctuation in PostgreSQL (array constructor)
Diffstat (limited to 'pygments/lexers/postgres.py')
-rw-r--r-- | pygments/lexers/postgres.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/postgres.py b/pygments/lexers/postgres.py index 0e495786..0e8af0c0 100644 --- a/pygments/lexers/postgres.py +++ b/pygments/lexers/postgres.py @@ -105,7 +105,7 @@ class PostgresLexer(RegexLexer): # psql variable in SQL (r""":(['"]?)[a-z][a-z0-9_]*\b\1""", Name.Variable), - (r'[;:()\[\],\.]', Punctuation), + (r'[;:()\[\]\{\},\.]', Punctuation), ], 'multiline-comments': [ (r'/\*', Comment.Multiline, 'multiline-comments'), |