Commits

Anonymous committed 6f317b4

Further fixes for irb lexer

  • Participants
  • Parent commits 38e669d
  • Branches trunk

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

     aliases = ['rbcon', 'irb']
     mimetypes = ['text/x-ruby-shellsession']
 
-    _prompt_re = re.compile('irb\([a-zA-Z_][a-zA-Z0-9_]*\):\d{3}:\d+[>*] '
+    _prompt_re = re.compile('irb\([a-zA-Z_][a-zA-Z0-9_]*\):\d{3}:\d+[>*"\'] '
                             '|>> |\?> ')
 
     def get_tokens_unprocessed(self, text):