summaryrefslogtreecommitdiff
path: root/pygments/lexers/shell.py
diff options
context:
space:
mode:
authoramitkummer <49096391+amitkummer@users.noreply.github.com>2021-03-28 13:25:56 +0300
committerGitHub <noreply@github.com>2021-03-28 12:25:56 +0200
commit74be9c006bca44e2c83dc6812caf9165da3c5a06 (patch)
treea7b40d2c6abddc04b9837cb7a2ff684ee3837401 /pygments/lexers/shell.py
parent2095bd9f9b25821bd8e8770b165ceb9288763d29 (diff)
downloadpygments-git-74be9c006bca44e2c83dc6812caf9165da3c5a06.tar.gz
PowerShell: lex ':' (#1758)
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 6283a11a..83529d17 100644
--- a/pygments/lexers/shell.py
+++ b/pygments/lexers/shell.py
@@ -730,7 +730,7 @@ class PowerShellLexer(RegexLexer):
(r'\[[a-z_\[][\w. `,\[\]]*\]', Name.Constant), # .net [type]s
(r'-[a-z_]\w*', Name),
(r'\w+', Name),
- (r'[.,;@{}\[\]$()=+*/\\&%!~?^`|<>-]|::', Punctuation),
+ (r'[.,;:@{}\[\]$()=+*/\\&%!~?^`|<>-]', Punctuation),
],
'child': [
(r'\)', Punctuation, '#pop'),