summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2013-05-09 18:18:06 -0700
committerTim Hatch <tim@timhatch.com>2013-05-09 18:18:06 -0700
commit60bee02378776bf7400fe42784e706083c7a7a81 (patch)
tree3bcae6a34a83f3e80427b564fb690911c7112071
parent046c4333e85b25f10aa5e961593840bcc90208e3 (diff)
downloadpygments-60bee02378776bf7400fe42784e706083c7a7a81.tar.gz
Followup for #844, recognize pipe again.
-rw-r--r--pygments/lexers/shell.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexers/shell.py b/pygments/lexers/shell.py
index 3e621b84..59a72a81 100644
--- a/pygments/lexers/shell.py
+++ b/pygments/lexers/shell.py
@@ -69,6 +69,7 @@ class BashLexer(RegexLexer):
(r"(?s)\$?'(\\\\|\\[0-7]+|\\.|[^'\\])*'", String.Single),
(r';', Punctuation),
(r'&', Punctuation),
+ (r'\|', Punctuation),
(r'\s+', Text),
(r'[^=\s\[\]{}()$"\'`\\<&|;]+', Text),
(r'\d+(?= |\Z)', Number),