UNPKG

251 BJavaScriptView Raw
1/**
2 * Lua
3 */
4module.exports = {
5 // find document blocks between '--[[' and '--]]'
6 docBlocksRegExp: /--\[\[\uffff?(.+?)\uffff?(?:\s*)?--\]\]/g,
7 // remove not needed ' * ' and tabs at the beginning
8 inlineRegExp: /^(\s*)?(\*)[ ]?/gm
9};