Commits

Daniele Varrazzo committed d7fa53d

Consider bracket punctuation in PostgreSQL (array constructor)

Comments (0)

Files changed (1)

pygments/lexers/postgres.py

             # 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'),