UNPKG

apidoc-light

Version:

RESTful web API Documentation Generator

10 lines (9 loc) 242 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, };