summaryrefslogtreecommitdiff
path: root/pygments/lexers/scripting.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-06 14:00:28 +0100
committerGeorg Brandl <georg@python.org>2014-11-06 14:00:28 +0100
commitc863ac19ce4d591b93be8b36cb69b04422c8dc9f (patch)
tree98bd701a6fb0da18d92897960eabdd9a139ad7d4 /pygments/lexers/scripting.py
parent90fe03b0f663810f4b6718d89b5e830ec2c67960 (diff)
downloadpygments-c863ac19ce4d591b93be8b36cb69b04422c8dc9f.tar.gz
Simplify charclasses in the remaining modules
Diffstat (limited to 'pygments/lexers/scripting.py')
-rw-r--r--pygments/lexers/scripting.py3
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),