From 6393f65faea81b5fde4f3a86abf778c7c5289305 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Tue, 12 Apr 2011 11:13:38 +0100 Subject: Consider bracket punctuation in PostgreSQL (array constructor) --- pygments/lexers/postgres.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pygments/lexers/postgres.py') 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'), -- cgit v1.2.1