Lines Matching refs:regex
16 { regex: /(--|#).*$/gm,
19 { regex: /\(\*(?:[\s\S]*?\(\*[\s\S]*?\*\))*[\s\S]*?\*\)/gm, // support nested comments
22 { regex: /"[\s\S]*?"/gm,
25 { regex: /(?:,|:|¬|'s\b|\(|\)|\{|\}|«|\b\w*»)/g, // operators
28 { regex: /(-)?(\d)+(\.(\d)?)?(E\+(\d)+)?/g, // numbers
31 { regex: /(?:&(amp;|gt;|lt;)?|=|� |>|<|≥|>=|≤|<=|\*|\+|-|\/|÷|\^)/g,
34 …{ regex: /\b(?:and|as|div|mod|not|or|return(?!\s&)(ing)?|equals|(is(n't| not)? )?equal( to)?|does(…
37 { regex: /\b\d+(st|nd|rd|th)\b/g, // ordinals
40 …{ regex: /\b(?:about|above|against|around|at|below|beneath|beside|between|by|(apart|aside) from|(i…
43 …{ regex: /\b(?:adding folder items to|after receiving|clipboard info|set the clipboard to|(the )?c…
46 { regex: /\b(?:tracks|paragraph|text item(s)?)\b/g,
49 …{ regex: /\b(?:AppleScript|album|video kind|grouping|length|text item delimiters|quoted form|POSIX…
52 { regex: /\b(?:run|exists|count)\b/g,
55 { regex: /\b(?:POSIX (file|path))\b/g,
58 …{ regex: /\b(?:message|with (data|icon( (caution|note|stop))?|parameter(s)?|prompt|properties|seed…
61 …{ regex: /\b(?:display(ing| (alert|dialog|mode))?|choose( ((remote )?application|color|folder|from…
64 { regex: /\b(?:xxx)\b/g,
67 { regex: /\b(?:true|false|none)\b/g,
71 { regex: new RegExp(this.getKeywords(specials), 'gm'), css: 'color3' },
72 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
73 { regex: new RegExp(this.getKeywords(ordinals), 'gm'), css: 'keyword' }