apidoc-core
Version:
Core parser library to generate apidoc result following the apidoc-spec
11 lines (10 loc) • 338 B
JavaScript
/**
* Erlang
*/
module.exports = {
// Find document blocks between '%{' and '%}'
docBlocksRegExp: /\%*\{\uffff?(.+?)\uffff?(?:\s*)?\%+\}/g,
// remove not needed ' % ' and tabs at the beginning
// HINT: Not sure if erlang developer use the %, but i think it should be no problem
inlineRegExp: /^(\s*)?(\%*)[ ]?/gm
};