Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Fix lua parsing. (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Oct 19, 2019
1 parent be96033 commit 1e30ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/languages/lua.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

0 comments on commit 1e30ce0

Please sign in to comment.