Home
last modified time | relevance | path

Searched defs:regex (Results 1 – 25 of 162) sorted by relevance

1234567

/plugin/syntaxhighlighter3/sxh3/src/js/
DshBrushAppleScript.js16 { regex: /(--|#).*$/gm, property
19 { regex: /\(\*(?:[\s\S]*?\(\*[\s\S]*?\*\))*[\s\S]*?\*\)/gm, // support nested comments property
22 { regex: /"[\s\S]*?"/gm, property
25 { regex: /(?:,|:|¬|'s\b|\(|\)|\{|\}|«|\b\w*»)/g, // operators property
28 { regex: /(-)?(\d)+(\.(\d)?)?(E\+(\d)+)?/g, // numbers property
31 { regex: /(?:&(amp;|gt;|lt;)?|=|� |>|<|≥|>=|≤|<=|\*|\+|-|\/|÷|\^)/g, property
34 …{ regex: /\b(?:and|as|div|mod|not|or|return(?!\s&)(ing)?|equals|(is(n't| not)? )?equal( to)?|does(… property
37 { regex: /\b\d+(st|nd|rd|th)\b/g, // ordinals property
40 …{ regex: /\b(?:about|above|against|around|at|below|beneath|beside|between|by|(apart|aside) from|(i… property
43 …{ regex: /\b(?:adding folder items to|after receiving|clipboard info|set the clipboard to|(the )?c… property
[all …]
DshBrushPerl.js45 …{ regex: /(<<|&lt;&lt;)((\w+)|(['"])(.+?)\4)[\s\S]+?\n\3\5\n/g, css: 'string' }, // here doc (mayb… property
46 { regex: /#.*$/gm, css: 'comments' }, property
47 { regex: /^#!.*\n/g, css: 'preprocessor' }, // shebang property
48 { regex: /-?\w+(?=\s*=(>|&gt;))/g, css: 'string' }, // fat comma property
51 { regex: /\bq[qwxr]?\([\s\S]*?\)/g, css: 'string' }, // quote-like operators () property
52 { regex: /\bq[qwxr]?\{[\s\S]*?\}/g, css: 'string' }, // quote-like operators {} property
53 { regex: /\bq[qwxr]?\[[\s\S]*?\]/g, css: 'string' }, // quote-like operators [] property
54 { regex: /\bq[qwxr]?(<|&lt;)[\s\S]*?(>|&gt;)/g, css: 'string' }, // quote-like operators <> property
55 { regex: /\bq[qwxr]?([^\w({<[])[\s\S]*?\1/g, css: 'string' }, // quote-like operators non-paired property
57 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, property
[all …]
DshBrushHaxe.js14 { regex:SyntaxHighlighter.regexLib.singleLineCComments , css:'comments' }, property
16 { regex:SyntaxHighlighter.regexLib.multiLineCComments , css:'comments' }, property
18 { regex:SyntaxHighlighter.regexLib.doubleQuotedString , css:'string' }, property
20 { regex:SyntaxHighlighter.regexLib.singleQuotedString , css:'string' }, property
22 { regex:/\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi , css:'value' }, property
24 { regex:new RegExp ( this.getKeywords ( inits ) , 'gm' ) , css:'color3' }, property
26 { regex:new RegExp ( this.getKeywords ( keywords ) , 'gm' ) , css:'keyword' }, property
28 { regex:new RegExp ( 'var' , 'gm' ) , css:'variable' }, property
30 { regex:new RegExp ( 'trace' , 'gm' ) , css:'color1' }, property
32 { regex:new RegExp ( '#if' , 'gm' ) , css:'comments' }, property
[all …]
DshBrushPowerShell.js34 …{ regex: new RegExp('^\\s*#[#\\s]*\\.('+this.getKeywords(commenthelp)+').*$', 'gim'), css: 'prep… property
35 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // on… property
36 …{ regex: /(&lt;|<)#[\s\S]*?#(&gt;|>)/gm, css: 'comments here' }, // multi-line co… property
38 …{ regex: new RegExp('@"\\n[\\s\\S]*?\\n"@', 'gm'), css: 'script string here' }, // do… property
39 …{ regex: new RegExp("@'\\n[\\s\\S]*?\\n'@", 'gm'), css: 'script string single here' }, … property
40 …{ regex: new RegExp('"(?:\\$\\([^\\)]*\\)|[^"]|`"|"")*[^`]"','g'), css: 'string' }, //… property
41 …{ regex: new RegExp("'(?:[^']|'')*'", 'g'), css: 'string single' }, // single quo… property
43 …{ regex: new RegExp('[\\$|@|@@](?:(?:global|script|private|env):)?[A-Z0-9_]+', 'gi'), css: 'vari… property
44 …{ regex: new RegExp('(?:\\b'+verbs.replace(/ /g, '\\b|\\b')+')-[a-zA-Z_][a-zA-Z0-9_]*', 'gmi'), cs… property
45 …{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' }, // keywor… property
[all …]
DshBrushPython.js26 { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, property
27 { regex: /^\s*@\w+/gm, css: 'decorator' }, property
28 { regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' }, property
29 { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' }, property
30 { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' }, property
31 { regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' }, property
32 { regex: /\b\d+\.?\w*/g, css: 'value' }, property
33 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, property
34 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, property
35 { regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' } property
DshBrushGroovy.js29 …{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line commen… property
30 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comme… property
31 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings property
32 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
33 { regex: /""".*"""/g, css: 'string' }, // GStrings property
34 { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers property
35 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword property
36 { regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type property
37 { regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants property
38 { regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods property
DshBrushSass.js61 { regex: r.multiLineCComments, css: 'comments' }, // multiline comments property
62 { regex: r.singleLineCComments, css: 'comments' }, // singleline comments property
63 { regex: r.doubleQuotedString, css: 'string' }, // double quoted strings property
64 { regex: r.singleQuotedString, css: 'string' }, // single quoted strings property
65 { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors property
66 { regex: /\b(-?\d+)(\.\d+)?(px|em|rem|pt|\:|\%|)\b/g, css: 'value' }, // sizes property
67 { regex: /\$[\w-]+/g, css: 'variable' }, // variables property
68 …{ regex: new RegExp(getKeywordsPrependedBy(statements, '!'), 'g'), css: 'color3' }, // statements property
69 …{ regex: new RegExp(getKeywordsPrependedBy(preprocessor, '@'), 'g'), css: 'preprocessor' }, // pre… property
70 { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords property
[all …]
DshBrushAS3.js22 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments property
23 … { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments property
24 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings property
25 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings property
26 { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers property
27 { regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations property
28 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords property
29 { regex: new RegExp('var', 'gm'), css: 'variable' }, // variable property
30 { regex: new RegExp('trace', 'gm'), css: 'color1' } // trace property
/plugin/syntaxhighlighter3/sxh3/pkg/scripts/
DshBrushAppleScript.js32 { regex: /(--|#).*$/gm, property
35 { regex: /\(\*(?:[\s\S]*?\(\*[\s\S]*?\*\))*[\s\S]*?\*\)/gm, // support nested comments property
38 { regex: /"[\s\S]*?"/gm, property
41 { regex: /(?:,|:|¬|'s\b|\(|\)|\{|\}|«|\b\w*»)/g, // operators property
44 { regex: /(-)?(\d)+(\.(\d)?)?(E\+(\d)+)?/g, // numbers property
47 { regex: /(?:&(amp;|gt;|lt;)?|=|� |>|<|≥|>=|≤|<=|\*|\+|-|\/|÷|\^)/g, property
50 …{ regex: /\b(?:and|as|div|mod|not|or|return(?!\s&)(ing)?|equals|(is(n't| not)? )?equal( to)?|does(… property
53 { regex: /\b\d+(st|nd|rd|th)\b/g, // ordinals property
56 …{ regex: /\b(?:about|above|against|around|at|below|beneath|beside|between|by|(apart|aside) from|(i… property
59 …{ regex: /\b(?:adding folder items to|after receiving|clipboard info|set the clipboard to|(the )?c… property
[all …]
DshBrushPerl.js61 …{ regex: /(<<|&lt;&lt;)((\w+)|(['"])(.+?)\4)[\s\S]+?\n\3\5\n/g, css: 'string' }, // here doc (mayb… property
62 { regex: /#.*$/gm, css: 'comments' }, property
63 { regex: /^#!.*\n/g, css: 'preprocessor' }, // shebang property
64 { regex: /-?\w+(?=\s*=(>|&gt;))/g, css: 'string' }, // fat comma property
67 { regex: /\bq[qwxr]?\([\s\S]*?\)/g, css: 'string' }, // quote-like operators () property
68 { regex: /\bq[qwxr]?\{[\s\S]*?\}/g, css: 'string' }, // quote-like operators {} property
69 { regex: /\bq[qwxr]?\[[\s\S]*?\]/g, css: 'string' }, // quote-like operators [] property
70 { regex: /\bq[qwxr]?(<|&lt;)[\s\S]*?(>|&gt;)/g, css: 'string' }, // quote-like operators <> property
71 { regex: /\bq[qwxr]?([^\w({<[])[\s\S]*?\1/g, css: 'string' }, // quote-like operators non-paired property
73 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, property
[all …]
DshBrushHaxe.js30 { regex:SyntaxHighlighter.regexLib.singleLineCComments , css:'comments' }, property
32 { regex:SyntaxHighlighter.regexLib.multiLineCComments , css:'comments' }, property
34 { regex:SyntaxHighlighter.regexLib.doubleQuotedString , css:'string' }, property
36 { regex:SyntaxHighlighter.regexLib.singleQuotedString , css:'string' }, property
38 { regex:/\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi , css:'value' }, property
40 { regex:new RegExp ( this.getKeywords ( inits ) , 'gm' ) , css:'color3' }, property
42 { regex:new RegExp ( this.getKeywords ( keywords ) , 'gm' ) , css:'keyword' }, property
44 { regex:new RegExp ( 'var' , 'gm' ) , css:'variable' }, property
46 { regex:new RegExp ( 'trace' , 'gm' ) , css:'color1' }, property
48 { regex:new RegExp ( '#if' , 'gm' ) , css:'comments' }, property
[all …]
DshBrushPowerShell.js50 …{ regex: new RegExp('^\\s*#[#\\s]*\\.('+this.getKeywords(commenthelp)+').*$', 'gim'), css: 'prep… property
51 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // on… property
52 …{ regex: /(&lt;|<)#[\s\S]*?#(&gt;|>)/gm, css: 'comments here' }, // multi-line co… property
54 …{ regex: new RegExp('@"\\n[\\s\\S]*?\\n"@', 'gm'), css: 'script string here' }, // do… property
55 …{ regex: new RegExp("@'\\n[\\s\\S]*?\\n'@", 'gm'), css: 'script string single here' }, … property
56 …{ regex: new RegExp('"(?:\\$\\([^\\)]*\\)|[^"]|`"|"")*[^`]"','g'), css: 'string' }, //… property
57 …{ regex: new RegExp("'(?:[^']|'')*'", 'g'), css: 'string single' }, // single quo… property
59 …{ regex: new RegExp('[\\$|@|@@](?:(?:global|script|private|env):)?[A-Z0-9_]+', 'gi'), css: 'vari… property
60 …{ regex: new RegExp('(?:\\b'+verbs.replace(/ /g, '\\b|\\b')+')-[a-zA-Z_][a-zA-Z0-9_]*', 'gmi'), cs… property
61 …{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' }, // keywor… property
[all …]
DshBrushGroovy.js45 …{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line commen… property
46 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comme… property
47 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings property
48 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
49 { regex: /""".*"""/g, css: 'string' }, // GStrings property
50 { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers property
51 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword property
52 { regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type property
53 { regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants property
54 { regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods property
DshBrushPython.js42 { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, property
43 { regex: /^\s*@\w+/gm, css: 'decorator' }, property
44 { regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' }, property
45 { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' }, property
46 { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' }, property
47 { regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' }, property
48 { regex: /\b\d+\.?\w*/g, css: 'value' }, property
49 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, property
50 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, property
51 { regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' } property
DshBrushSass.js77 { regex: r.multiLineCComments, css: 'comments' }, // multiline comments property
78 { regex: r.singleLineCComments, css: 'comments' }, // singleline comments property
79 { regex: r.doubleQuotedString, css: 'string' }, // double quoted strings property
80 { regex: r.singleQuotedString, css: 'string' }, // single quoted strings property
81 { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors property
82 { regex: /\b(-?\d+)(\.\d+)?(px|em|rem|pt|\:|\%|)\b/g, css: 'value' }, // sizes property
83 { regex: /\$[\w-]+/g, css: 'variable' }, // variables property
84 …{ regex: new RegExp(getKeywordsPrependedBy(statements, '!'), 'g'), css: 'color3' }, // statements property
85 …{ regex: new RegExp(getKeywordsPrependedBy(preprocessor, '@'), 'g'), css: 'preprocessor' }, // pre… property
86 { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords property
[all …]
DshBrushAS3.js38 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments property
39 … { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments property
40 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings property
41 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings property
42 { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers property
43 { regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations property
44 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords property
45 { regex: new RegExp('var', 'gm'), css: 'variable' }, // variable property
46 { regex: new RegExp('trace', 'gm'), css: 'color1' } // trace property
/plugin/codemirror/dist/modes/
Dfactor.min.js1 …deMirror)})(function(a){"use strict";a.defineSimpleMode("factor",{start:[{regex:/#?!.*/,token:"com… property
Dlivescript.min.js1 ….next;var d=f[c];if(d.splice){for(var e=0;e<d.length;++e){var g=d[e];if(g.regex&&a.match(g.regex))… property
Dnsis.min.js1 …CodeMirror)})(function(a){"use strict";a.defineSimpleMode("nsis",{start:[{regex:/(?:[+-]?)(?:0x[\d… property
Drust.min.js1 …CodeMirror)})(function(a){"use strict";a.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"strin… property
Ddockerfile.min.js1 …RegExp("^(\\s*)"+j+"(\\s+)","i");a.defineSimpleMode("dockerfile",{start:[{regex:/^\s*#.*$/,sol:tru… property
Dhandlebars.min.js1 …})(function(a){"use strict";a.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{\{/,push:"han… property
Dwast.min.js1 …CodeMirror)})(function(a){"use strict";a.defineSimpleMode("wast",{start:[{regex:/[+\-]?(?:nan(?::0… property
/plugin/syntaxhighlighter4/dist/
Dsyntaxhighlighter.js462 regex = XRegExp("(?<name>[\\w-]+)" + "\\s*:\\s*" + "(?<value>" + "[\\w%#-]+|" + // word variable
644 regex.__proto__ = XRegExp.prototype; field
1228 regex: copyRegex(regex, { property
1353 regex.lastIndex = match ? r2.lastIndex : 0; field
1530 regex.lastIndex = scope === 'one' && result ? field
1963 regex = new RegExp(regex); property
3035 regex = /^\s*/, variable
3432 xmlBrush.regexList.push({ regex: scriptBrush.htmlScript.code, func: process }); property
3720 var regex = { 'end': regexGroup.right.source }; variable
3727 left: { regex: regexGroup.left, css: 'script' }, property
[all …]
/plugin/syntaxhighlighter/Uncompressed/
DshBrushJava.js12 { regex: dp.sh.RegexLib.SingleLineCComments, css: 'comment' }, // one line comments property
13 { regex: dp.sh.RegexLib.MultiLineCComments, css: 'comment' }, // multiline comments property
14 { regex: dp.sh.RegexLib.DoubleQuotedString, css: 'string' }, // strings property
15 { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // strings property
16 { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'number' }, // numbers property
17 …{ regex: new RegExp('(?!\\@interface\\b)\\@[\\$\\w]+\\b', 'g'), css: 'annotation' }, // annotati… property
18 { regex: new RegExp('\\@interface\\b', 'g'), css: 'keyword' }, // @interface keyword property
19 { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } // java keyword property

1234567