main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
596 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | Prism.languages.jexl = {
|
---|
| 2 | 'string': /(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,
|
---|
| 3 | 'transform': {
|
---|
| 4 | pattern: /(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,
|
---|
| 5 | alias: 'function',
|
---|
| 6 | lookbehind: true
|
---|
| 7 | },
|
---|
| 8 | 'function': /[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,
|
---|
| 9 | 'number': /\b\d+(?:\.\d+)?\b|\B\.\d+\b/,
|
---|
| 10 | 'operator': /[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,
|
---|
| 11 | 'boolean': /\b(?:false|true)\b/,
|
---|
| 12 | 'keyword': /\bin\b/,
|
---|
| 13 | 'punctuation': /[{}[\](),.]/,
|
---|
| 14 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.