From 1e30ce037d3d63134cb63d7818079b72904bbee7 Mon Sep 17 00:00:00 2001 From: Nicolas CARPi Date: Sat, 19 Oct 2019 22:28:33 +0200 Subject: [PATCH] Fix lua parsing. (#63) --- lib/languages/lua.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/languages/lua.js b/lib/languages/lua.js index 4b8d339..8b7fb7e 100644 --- a/lib/languages/lua.js +++ b/lib/languages/lua.js @@ -3,7 +3,7 @@ */ module.exports = { // find document blocks between '--[[' and '--]]' - docBlocksRegExp: /--\[\[\uffff?(.+?)\uffff?(?:\s*)?--\]\]/g, + docBlocksRegExp: /--\[\[\uffff?(.+?)\uffff?(?:\s*)?\]\]/g, // remove not needed ' * ' and tabs at the beginning inlineRegExp: /^(\s*)?(\*)[ ]?/gm };