summaryrefslogtreecommitdiff
path: root/pygments/lexers/webmisc.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-06 13:36:41 +0100
committerGeorg Brandl <georg@python.org>2014-11-06 13:36:41 +0100
commit90fe03b0f663810f4b6718d89b5e830ec2c67960 (patch)
treed5b69099b513da0db10404445613a226a11c46eb /pygments/lexers/webmisc.py
parent01f13cc2e664ebab1815fbaca35f3815160a8d56 (diff)
downloadpygments-90fe03b0f663810f4b6718d89b5e830ec2c67960.tar.gz
Simplify charclasses in a few more modules
Diffstat (limited to 'pygments/lexers/webmisc.py')
-rw-r--r--pygments/lexers/webmisc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/lexers/webmisc.py b/pygments/lexers/webmisc.py
index 65fb6f4b..331d78d2 100644
--- a/pygments/lexers/webmisc.py
+++ b/pygments/lexers/webmisc.py
@@ -736,7 +736,8 @@ class QmlLexer(RegexLexer):
mimetypes = ['application/x-qml']
# pasted from JavascriptLexer, with some additions
- flags = re.DOTALL
+ flags = re.DOTALL | re.MULTILINE
+
tokens = {
'commentsandwhitespace': [
(r'\s+', Text),