diff options
author | SHEN Wenqiang <wqshen91@gmail.com> | 2016-06-13 01:19:16 +0000 |
---|---|---|
committer | SHEN Wenqiang <wqshen91@gmail.com> | 2016-06-13 01:19:16 +0000 |
commit | b3955bae9598a60a51dacd0b637f6006ae6afff7 (patch) | |
tree | 2eb1daa94506c144127f2f07764a4facd515a3d1 | |
parent | ce93b89a0b9d6b3b0eb828e049952c4ff84421fd (diff) | |
download | pygments-b3955bae9598a60a51dacd0b637f6006ae6afff7.tar.gz |
ncl.py edited online with Bitbucket
some punctuations have added
-rw-r--r-- | pygments/lexers/ncl.py | 4 |
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 |