Commits

Tim Hatch committed 39e69a8 Draft

Followup for #844, recognize pipe again.

  • Participants
  • Parent commits 58fe7c2

Comments (0)

Files changed (1)

File pygments/lexers/shell.py

             (r"(?s)\$?'(\\\\|\\[0-7]+|\\.|[^'\\])*'", String.Single),
             (r';', Punctuation),
             (r'&', Punctuation),
+            (r'\|', Punctuation),
             (r'\s+', Text),
             (r'[^=\s\[\]{}()$"\'`\\<&|;]+', Text),
             (r'\d+(?= |\Z)', Number),