UNPKG

apidoc-core

Version:

Core parser library to generate apidoc result following the apidoc-spec

10 lines (9 loc) 249 B
/** * Lua */ module.exports = { // find document blocks between '--[[' and '--]]' docBlocksRegExp: /--\[\[\uffff?(.+?)\uffff?(?:\s*)?\]\]/g, // remove not needed ' * ' and tabs at the beginning inlineRegExp: /^(\s*)?(\*)[ ]?/gm };