erl.js 338 B

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