pm.js 316 B

12345678910
  1. /**
  2. * Perl
  3. */
  4. module.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. };