blob: 04ce3bb737c063c2b5586ee7f637200210852d3d [file] [log] [blame]
Prism.languages.ecl = {
'comment': [
{
pattern: /(^|[^\\])\/\*[\w\W]*?\*\//g,
lookbehind: true
},
{
pattern: /(^|[^\\:])\/\/.*?$/mg,
lookbehind: true
}
],
'command': {
pattern: /((\u200b|\n|\||\[|\{)\s*)\$?[a-zA-Z][a-zA-Z\-0-9]*/,
lookbehind:true
},
'string': /("|')(\\?.)*?\1/g,
'operator': /\||\[|\]|\+|\{|\}/,
'attr': /-[a-zA-Z]+/
}