diff options
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | pygments/lexers/agile.py | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,8 @@ Version 1.1 - Fix a few problems in Matlab lexer (#378). +- Support multiline strings in Lua lexer. + Version 1.0 ----------- diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py index 047e76b0..bd66f494 100644 --- a/pygments/lexers/agile.py +++ b/pygments/lexers/agile.py @@ -1017,6 +1017,7 @@ class LuaLexer(RegexLexer): (r'\n', Text), (r'[^\S\n]', Text), + (r'(?s)\[(=*)\[.*?\]\1\]', String.Multiline), (r'[\[\]\{\}\(\)\.,:;]', Punctuation), (r'(==|~=|<=|>=|\.\.|\.\.\.|[=+\-*/%^<>#])', Operator), |