summaryrefslogtreecommitdiff
path: root/pygments/lexers/ncl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/ncl.py')
-rw-r--r--pygments/lexers/ncl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/ncl.py b/pygments/lexers/ncl.py
index 23eba786..f3324b09 100644
--- a/pygments/lexers/ncl.py
+++ b/pygments/lexers/ncl.py
@@ -35,7 +35,7 @@ class NCLLexer(RegexLexer):
(r';.*\n', Comment),
include('strings'),
include('core'),
- (r'[a-z][\w$]*', Name),
+ (r'[a-zA-Z_]\w*', Name),
include('nums'),
(r'[\s]+', Text),
],
@@ -62,7 +62,7 @@ class NCLLexer(RegexLexer):
(r'[\^*+\-/<>]', Operator),
# punctuation:
- (r'[\[\]():@$.,]', Punctuation),
+ (r'[\[\]():@$.,]\\{}', Punctuation),
(r'[=:]', Punctuation),
# Intrinsics