diff options
author | Georg Brandl <georg@python.org> | 2014-11-06 14:00:28 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-06 14:00:28 +0100 |
commit | c863ac19ce4d591b93be8b36cb69b04422c8dc9f (patch) | |
tree | 98bd701a6fb0da18d92897960eabdd9a139ad7d4 /pygments/lexers/scripting.py | |
parent | 90fe03b0f663810f4b6718d89b5e830ec2c67960 (diff) | |
download | pygments-c863ac19ce4d591b93be8b36cb69b04422c8dc9f.tar.gz |
Simplify charclasses in the remaining modules
Diffstat (limited to 'pygments/lexers/scripting.py')
-rw-r--r-- | pygments/lexers/scripting.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/scripting.py b/pygments/lexers/scripting.py index 359736b6..678cab21 100644 --- a/pygments/lexers/scripting.py +++ b/pygments/lexers/scripting.py @@ -224,7 +224,8 @@ class ChaiscriptLexer(RegexLexer): filenames = ['*.chai'] mimetypes = ['text/x-chaiscript', 'application/x-chaiscript'] - flags = re.DOTALL + flags = re.DOTALL | re.MULTILINE + tokens = { 'commentsandwhitespace': [ (r'\s+', Text), |