diff options
author | Georg Brandl <georg@python.org> | 2012-03-10 14:27:31 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-03-10 14:27:31 +0100 |
commit | c11b7995ce496ad1f0dc439187b0b8334428a78c (patch) | |
tree | ed004a956751bc1ebbb8002dc6ccb2b3a1c4f66f /pygments/lexers/shell.py | |
parent | d761f76cb2491e4269638a4971dff6c26010c85f (diff) | |
parent | 08c53fd3c0e9ef11f66b9bf4dc8475677d2b7566 (diff) | |
download | pygments-c11b7995ce496ad1f0dc439187b0b8334428a78c.tar.gz |
Merged in rafaelmartins/pygments-main (pull request #60)
Diffstat (limited to 'pygments/lexers/shell.py')
-rw-r--r-- | pygments/lexers/shell.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/shell.py b/pygments/lexers/shell.py index 61069f72..df45317e 100644 --- a/pygments/lexers/shell.py +++ b/pygments/lexers/shell.py @@ -68,7 +68,7 @@ class BashLexer(RegexLexer): (r"(?s)\$?'(\\\\|\\[0-7]+|\\.|[^'\\])*'", String.Single), (r';', Text), (r'\s+', Text), - (r'[^=\s\n\[\]{}()$"\'`\\<]+', Text), + (r'[^=\s\[\]{}()$"\'`\\<]+', Text), (r'\d+(?= |\Z)', Number), (r'\$#?(\w+|.)', Name.Variable), (r'<', Text), @@ -252,7 +252,7 @@ class TcshLexer(RegexLexer): (r'(?s)"(\\\\|\\[0-7]+|\\.|[^"\\])*"', String.Double), (r"(?s)'(\\\\|\\[0-7]+|\\.|[^'\\])*'", String.Single), (r'\s+', Text), - (r'[^=\s\n\[\]{}()$"\'`\\]+', Text), + (r'[^=\s\[\]{}()$"\'`\\]+', Text), (r'\d+(?= |\Z)', Number), (r'\$#?(\w+|.)', Name.Variable), ], @@ -316,7 +316,7 @@ class PowerShellLexer(RegexLexer): commenthelp = ( 'component description example externalhelp forwardhelpcategory ' - 'forwardhelptargetname forwardhelptargetname functionality inputs link ' + 'forwardhelptargetname functionality inputs link ' 'notes outputs parameter remotehelprunspace role synopsis').split() tokens = { |