From f6d65e533c62f6deb21342d4901ece24497b433e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 4 Jun 2015 07:31:04 +0200 Subject: Update to MediaWiki 1.25.1 --- extensions/SyntaxHighlight_GeSHi/geshi/geshi/lua.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'extensions/SyntaxHighlight_GeSHi/geshi/geshi/lua.php') diff --git a/extensions/SyntaxHighlight_GeSHi/geshi/geshi/lua.php b/extensions/SyntaxHighlight_GeSHi/geshi/geshi/lua.php index 8a09ba20..9bd67151 100644 --- a/extensions/SyntaxHighlight_GeSHi/geshi/geshi/lua.php +++ b/extensions/SyntaxHighlight_GeSHi/geshi/geshi/lua.php @@ -4,7 +4,7 @@ * ------- * Author: Roberto Rossi (rsoftware@altervista.org) * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.8.11 + * Release Version: 1.0.8.12 * Date Started: 2004/07/10 * * LUA language file for GeSHi. @@ -45,8 +45,14 @@ $language_data = array ( 'LANG_NAME' => 'Lua', 'COMMENT_SINGLE' => array(1 => "--"), - 'COMMENT_MULTI' => array('--[[' => ']]'), - 'COMMENT_REGEXP' => array(2 => '/\[(=*)\[.*?\]\1\]/s'), + 'COMMENT_MULTI' => array(), + 'COMMENT_REGEXP' => array( + // Multiline comments + 2 => '/--\[(=*)\[.*?\]\1\]/s', + // Multi line literal strings (should not interpret escape sequences) + // Here because no STRING_REGEXP + 3 => '/(?