summaryrefslogtreecommitdiff
path: root/pygments/lexers/shell.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-09 18:19:43 +0100
committerGeorg Brandl <georg@python.org>2014-01-09 18:19:43 +0100
commit17b15c0bbbccbe0e9601a0f59cc81e7324eefd38 (patch)
treee743112e514f005c9c628da053a273f11a54b6fb /pygments/lexers/shell.py
parentc74fdb8a30a37a2709265da21a3e48fff531ae36 (diff)
downloadpygments-17b15c0bbbccbe0e9601a0f59cc81e7324eefd38.tar.gz
Closes #914: powershell: recognize escaped backtick correctly
Diffstat (limited to 'pygments/lexers/shell.py')
-rw-r--r--pygments/lexers/shell.py2
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),