UNPKG

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