UNPKG

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