UNPKG

apidoc-core

Version:

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

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