Commits

Daniele Varrazzo  committed d7fa53d

Consider bracket punctuation in PostgreSQL (array constructor)

  • Participants
  • Parent commits 576f10b

Comments (0)

Files changed (1)

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