summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHEN Wenqiang <wqshen91@gmail.com>2016-06-13 01:19:16 +0000
committerSHEN Wenqiang <wqshen91@gmail.com>2016-06-13 01:19:16 +0000
commitb3955bae9598a60a51dacd0b637f6006ae6afff7 (patch)
tree2eb1daa94506c144127f2f07764a4facd515a3d1
parentce93b89a0b9d6b3b0eb828e049952c4ff84421fd (diff)
downloadpygments-b3955bae9598a60a51dacd0b637f6006ae6afff7.tar.gz
ncl.py edited online with Bitbucket
some punctuations have added
-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