diff options
author | Tim Hatch <tim@timhatch.com> | 2013-05-09 18:18:06 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2013-05-09 18:18:06 -0700 |
commit | 60bee02378776bf7400fe42784e706083c7a7a81 (patch) | |
tree | 3bcae6a34a83f3e80427b564fb690911c7112071 | |
parent | 046c4333e85b25f10aa5e961593840bcc90208e3 (diff) | |
download | pygments-60bee02378776bf7400fe42784e706083c7a7a81.tar.gz |
Followup for #844, recognize pipe again.
-rw-r--r-- | pygments/lexers/shell.py | 1 |
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), |