Commits

Daniele Varrazzo committed 691379d

Added prompt style => in psql lexer

  • Participants
  • Parent commits 37ec7e5

Comments (0)

Files changed (1)

File pygments/lexers/postgres.py

         ]
     }
 
-re_prompt = re.compile(r'^([a-zA-Z_][a-zA-Z0-9_]+)?[=\-\(]#')
+re_prompt = re.compile(r'^([a-zA-Z_][a-zA-Z0-9_]+)?[=\-\(][#>]')
 re_psql_command = re.compile(r'(\s*)(\\.+?)(\s+)$')
 re_error = re.compile(r'ERROR:')
 re_message = re.compile(r'(DEBUG|INFO|WARNING|ERROR|HINT|LINE [0-9]+:?)(.*?\n)')