diff options
author | Georg Brandl <georg@python.org> | 2014-01-09 18:19:43 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-01-09 18:19:43 +0100 |
commit | 17b15c0bbbccbe0e9601a0f59cc81e7324eefd38 (patch) | |
tree | e743112e514f005c9c628da053a273f11a54b6fb /pygments/lexers/shell.py | |
parent | c74fdb8a30a37a2709265da21a3e48fff531ae36 (diff) | |
download | pygments-17b15c0bbbccbe0e9601a0f59cc81e7324eefd38.tar.gz |
Closes #914: powershell: recognize escaped backtick correctly
Diffstat (limited to 'pygments/lexers/shell.py')
-rw-r--r-- | pygments/lexers/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/shell.py b/pygments/lexers/shell.py index 8a50d970..17247fb3 100644 --- a/pygments/lexers/shell.py +++ b/pygments/lexers/shell.py @@ -408,7 +408,7 @@ class PowerShellLexer(RegexLexer): (r'[#&.]', Comment.Multiline), ], 'string': [ - (r"`[0abfnrtv'\"\$]", String.Escape), + (r"`[0abfnrtv'\"\$`]", String.Escape), (r'[^$`"]+', String.Double), (r'\$\(', Punctuation, 'child'), (r'""', String.Double), |