UNPKG

338 BJavaScriptView Raw
1/**
2 * Erlang
3 */
4module.exports = {
5 // Find document blocks between '%{' and '%}'
6 docBlocksRegExp: /\%*\{\uffff?(.+?)\uffff?(?:\s*)?\%+\}/g,
7 // remove not needed ' % ' and tabs at the beginning
8 // HINT: Not sure if erlang developer use the %, but i think it should be no problem
9 inlineRegExp: /^(\s*)?(\%*)[ ]?/gm
10};