ex.js 477 B

1234567891011
  1. /**
  2. * Elixir
  3. */
  4. module.exports = {
  5. // Find document blocks in heredocs that are arguments of the @apidoc
  6. // module attribute. Elixir heredocs can be enclosed between """ and """ or
  7. // between ''' and '''. Heredocs in ~s and ~S sigils are also supported.
  8. docBlocksRegExp: /@apidoc\s*(~[sS])?"""\uffff?(.+?)\uffff?(?:\s*)?"""|@apidoc\s*(~[sS])?'''\uffff?(.+?)\uffff?(?:\s*)?'''/g,
  9. // Remove not needed tabs at the beginning
  10. inlineRegExp: /^(\t*)?/gm
  11. };