Commits

Anonymous committed 6264e53

Bugfix for heredocs in the bash lexer without preceeding whitespace

  • Participants
  • Parent commits 238cfc1
  • Branches trunk

Comments (0)

Files changed (1)

File pygments/lexers/other.py

             (r"\$?'(\\\\|\\[0-7]+|\\.|[^'])*'", String.Single),
             (r';', Text),
             (r'\s+', Text),
-            (r'[^=\s\n\[\]{}()$"\'`\\]+', Text),
+            (r'[^=\s\n\[\]{}()$"\'`\\<]+', Text),
             (r'\d+(?= |\Z)', Number),
             (r'\$#?(\w+|.)', Name.Variable),
+            (r'<', Text),
         ],
         'curly': [
             (r'}', Keyword, '#pop'),