/plugin/codemirror/dist/modes/ |
H A D | livescript.min.js | 1 …regex&&a.match(g.regex)){b.next=g.next||b.next;return g.token}}a.next();return"error"}if(a.match(g… property in AnonymousFunction1e0d314e0100.e
|
H A D | factor.min.js | 1 …regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,…
|
H A D | nsis.min.js | 1 …regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(…
|
H A D | rust.min.js | 1 …regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/…
|
H A D | dockerfile.min.js | 1 …regex:/^\s*#.*$/,sol:true,token:"comment"},{regex:c,token:[null,"keyword"],sol:true,next:"from"},{…
|
H A D | handlebars.min.js | 1 …regex:/\{\{\{/,push:"handlebars_raw",token:"tag"},{regex:/\{\{!--/,push:"dash_comment",token:"comm…
|
H A D | wast.min.js | 1 …regex:/[+\-]?(?:nan(?::0x[0-9a-fA-F]+)?|infinity|inf|0x[0-9a-fA-F]+\.?[0-9a-fA-F]*p[+\/-]?\d+|\d+(…
|
/plugin/syntaxhighlighter3/sxh3/pkg/scripts/ |
H A D | shBrushAppleScript.js | 32 { regex: /(--|#).*$/gm, 38 { regex: /"[\s\S]*?"/gm, 41 { regex: /(?:,|:|¬|'s\b|\(|\)|\{|\}|«|\b\w*»)/g, // operators 44 { regex: /(-)?(\d)+(\.(\d)?)?(E\+(\d)+)?/g, // numbers 47 { regex: /(?:&(amp;|gt;|lt;)?|=|� |>|<|≥|>=|≤|<=|\*|\+|-|\/|÷|\^)/g, 53 { regex: /\b\d+(st|nd|rd|th)\b/g, // ordinals 62 { regex: /\b(?:tracks|paragraph|text item(s)?)\b/g, 68 { regex: /\b(?:run|exists|count)\b/g, 71 { regex: /\b(?:POSIX (file|path))\b/g, 80 { regex: /\b(?:xxx)\b/g, [all …]
|
H A D | shBrushPerl.js | 62 { regex: /#.*$/gm, css: 'comments' }, 63 { regex: /^#!.*\n/g, css: 'preprocessor' }, // shebang 64 { regex: /-?\w+(?=\s*=(>|>))/g, css: 'string' }, // fat comma 67 { regex: /\bq[qwxr]?\([\s\S]*?\)/g, css: 'string' }, // quote-like operators () 73 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, 74 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, 76 { regex: /(?:&|[$@%*]|\$#)\$?[a-zA-Z_](\w+|::)*/g, css: 'variable' }, 77 { regex: /\b__(?:END|DATA)__\b[\s\S]*$/g, css: 'comments' }, 80 { regex: /(^|\n)=\w[\s\S]*?(\n=cut\s*(?=\n)|$)/g, css: 'comments' }, // pod 82 { regex: new RegExp(this.getKeywords(funcs), 'gm'), css: 'functions' }, [all …]
|
H A D | shBrushHaxe.js | 30 { regex:SyntaxHighlighter.regexLib.singleLineCComments , css:'comments' }, 32 { regex:SyntaxHighlighter.regexLib.multiLineCComments , css:'comments' }, 34 { regex:SyntaxHighlighter.regexLib.doubleQuotedString , css:'string' }, 36 { regex:SyntaxHighlighter.regexLib.singleQuotedString , css:'string' }, 38 { regex:/\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi , css:'value' }, 44 { regex:new RegExp ( 'var' , 'gm' ) , css:'variable' }, 46 { regex:new RegExp ( 'trace' , 'gm' ) , css:'color1' }, 48 { regex:new RegExp ( '#if' , 'gm' ) , css:'comments' }, 49 { regex:new RegExp ( '#elseif' , 'gm' ) , css:'comments' }, 50 { regex:new RegExp ( '#end' , 'gm' ) , css:'comments' }, [all …]
|
H A D | shBrushPowerShell.js | 51 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // on… 52 …{ regex: /(<|<)#[\s\S]*?#(>|>)/gm, css: 'comments here' }, // multi-line co… 54 …{ regex: new RegExp('@"\\n[\\s\\S]*?\\n"@', 'gm'), css: 'script string here' }, // do… 55 …{ regex: new RegExp("@'\\n[\\s\\S]*?\\n'@", 'gm'), css: 'script string single here' }, … 56 …{ regex: new RegExp('"(?:\\$\\([^\\)]*\\)|[^"]|`"|"")*[^`]"','g'), css: 'string' }, //… 57 …{ regex: new RegExp("'(?:[^']|'')*'", 'g'), css: 'string single' }, // single quo… 59 …{ regex: new RegExp('[\\$|@|@@](?:(?:global|script|private|env):)?[A-Z0-9_]+', 'gi'), css: 'vari… 61 …{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' }, // keywor… 62 …{ regex: new RegExp('-'+this.getKeywords(operators), 'gmi'), css: 'operator value' }, /… 63 …{ regex: new RegExp('\\[[A-Z_\\[][A-Z0-9_. `,\\[\\]]*\\]', 'gi'), css: 'constants' }, … [all …]
|
H A D | shBrushSass.js | 77 { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 78 { regex: r.singleLineCComments, css: 'comments' }, // singleline comments 79 { regex: r.doubleQuotedString, css: 'string' }, // double quoted strings 80 { regex: r.singleQuotedString, css: 'string' }, // single quoted strings 81 { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors 82 { regex: /\b(-?\d+)(\.\d+)?(px|em|rem|pt|\:|\%|)\b/g, css: 'value' }, // sizes 83 { regex: /\$[\w-]+/g, css: 'variable' }, // variables 84 …{ regex: new RegExp(getKeywordsPrependedBy(statements, '!'), 'g'), css: 'color3' }, // statements 86 { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords 87 { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values [all …]
|
H A D | shBrushPython.js | 42 { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, 43 { regex: /^\s*@\w+/gm, css: 'decorator' }, 44 { regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' }, 45 { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' }, 46 { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' }, 47 { regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' }, 48 { regex: /\b\d+\.?\w*/g, css: 'value' }, 49 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, 50 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, 51 { regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' }
|
H A D | shBrushGroovy.js | 45 …{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line commen… 46 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comme… 47 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 48 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 49 { regex: /""".*"""/g, css: 'string' }, // GStrings 50 { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers 51 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword 52 { regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type 53 { regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants 54 { regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods
|
H A D | shBrushJava.js | 33 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 34 { regex: /\/\*([^\*][\s\S]*?)?\*\//gm, css: 'comments' }, // multiline comments 35 { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments 36 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 37 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 38 { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers 39 { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno 40 { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword 41 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword
|
/plugin/syntaxhighlighter3/sxh3/src/js/ |
H A D | shBrushAppleScript.js | 16 { regex: /(--|#).*$/gm, 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, 37 { regex: /\b\d+(st|nd|rd|th)\b/g, // ordinals 46 { regex: /\b(?:tracks|paragraph|text item(s)?)\b/g, 52 { regex: /\b(?:run|exists|count)\b/g, 55 { regex: /\b(?:POSIX (file|path))\b/g, 64 { regex: /\b(?:xxx)\b/g, [all …]
|
H A D | shBrushPerl.js | 46 { regex: /#.*$/gm, css: 'comments' }, 47 { regex: /^#!.*\n/g, css: 'preprocessor' }, // shebang 48 { regex: /-?\w+(?=\s*=(>|>))/g, css: 'string' }, // fat comma 51 { regex: /\bq[qwxr]?\([\s\S]*?\)/g, css: 'string' }, // quote-like operators () 57 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, 58 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, 60 { regex: /(?:&|[$@%*]|\$#)\$?[a-zA-Z_](\w+|::)*/g, css: 'variable' }, 61 { regex: /\b__(?:END|DATA)__\b[\s\S]*$/g, css: 'comments' }, 64 { regex: /(^|\n)=\w[\s\S]*?(\n=cut\s*(?=\n)|$)/g, css: 'comments' }, // pod 66 { regex: new RegExp(this.getKeywords(funcs), 'gm'), css: 'functions' }, [all …]
|
H A D | shBrushHaxe.js | 14 { regex:SyntaxHighlighter.regexLib.singleLineCComments , css:'comments' }, 16 { regex:SyntaxHighlighter.regexLib.multiLineCComments , css:'comments' }, 18 { regex:SyntaxHighlighter.regexLib.doubleQuotedString , css:'string' }, 20 { regex:SyntaxHighlighter.regexLib.singleQuotedString , css:'string' }, 22 { regex:/\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi , css:'value' }, 28 { regex:new RegExp ( 'var' , 'gm' ) , css:'variable' }, 30 { regex:new RegExp ( 'trace' , 'gm' ) , css:'color1' }, 32 { regex:new RegExp ( '#if' , 'gm' ) , css:'comments' }, 33 { regex:new RegExp ( '#elseif' , 'gm' ) , css:'comments' }, 34 { regex:new RegExp ( '#end' , 'gm' ) , css:'comments' }, [all …]
|
H A D | shBrushPowerShell.js | 35 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // on… 36 …{ regex: /(<|<)#[\s\S]*?#(>|>)/gm, css: 'comments here' }, // multi-line co… 38 …{ regex: new RegExp('@"\\n[\\s\\S]*?\\n"@', 'gm'), css: 'script string here' }, // do… 39 …{ regex: new RegExp("@'\\n[\\s\\S]*?\\n'@", 'gm'), css: 'script string single here' }, … 40 …{ regex: new RegExp('"(?:\\$\\([^\\)]*\\)|[^"]|`"|"")*[^`]"','g'), css: 'string' }, //… 41 …{ regex: new RegExp("'(?:[^']|'')*'", 'g'), css: 'string single' }, // single quo… 43 …{ regex: new RegExp('[\\$|@|@@](?:(?:global|script|private|env):)?[A-Z0-9_]+', 'gi'), css: 'vari… 45 …{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' }, // keywor… 46 …{ regex: new RegExp('-'+this.getKeywords(operators), 'gmi'), css: 'operator value' }, /… 47 …{ regex: new RegExp('\\[[A-Z_\\[][A-Z0-9_. `,\\[\\]]*\\]', 'gi'), css: 'constants' }, … [all …]
|
H A D | shBrushSass.js | 61 { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 62 { regex: r.singleLineCComments, css: 'comments' }, // singleline comments 63 { regex: r.doubleQuotedString, css: 'string' }, // double quoted strings 64 { regex: r.singleQuotedString, css: 'string' }, // single quoted strings 65 { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors 66 { regex: /\b(-?\d+)(\.\d+)?(px|em|rem|pt|\:|\%|)\b/g, css: 'value' }, // sizes 67 { regex: /\$[\w-]+/g, css: 'variable' }, // variables 68 …{ regex: new RegExp(getKeywordsPrependedBy(statements, '!'), 'g'), css: 'color3' }, // statements 70 { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords 71 { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values [all …]
|
H A D | shBrushPython.js | 26 { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, 27 { regex: /^\s*@\w+/gm, css: 'decorator' }, 28 { regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' }, 29 { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' }, 30 { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' }, 31 { regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' }, 32 { regex: /\b\d+\.?\w*/g, css: 'value' }, 33 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, 34 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, 35 { regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' }
|
H A D | shBrushGroovy.js | 29 …{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line commen… 30 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comme… 31 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 32 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 33 { regex: /""".*"""/g, css: 'string' }, // GStrings 34 { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers 35 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword 36 { regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type 37 { regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants 38 { regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods
|
H A D | shBrushJava.js | 17 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 18 { regex: /\/\*([^\*][\s\S]*?)?\*\//gm, css: 'comments' }, // multiline comments 19 { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments 20 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 21 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 22 { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers 23 { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno 24 { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword 25 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword
|
/plugin/dirtylittlehelper/mermaid/editor/docs/ |
H A D | 42.42.js | 1 …regex:/@irregular_keywords(?!@IDENTRST)/,action:{token:"keyword"}},{regex:/@IDENTFST@IDENTRST*[<!\…
|
/plugin/syntaxhighlighter4/dist/ |
H A D | syntaxhighlighter.js | 639 return regex; 658 return regex; 742 return regex; 779 return !!(regex[REGEX_DATA] && regex[REGEX_DATA].captureNames); 1228 regex: copyRegex(regex, { 1333 regex[REGEX_DATA] = regex[REGEX_DATA] || {}; 1336 r2 = regex[REGEX_DATA][cacheKey] || (regex[REGEX_DATA][cacheKey] = copyRegex(regex, { 1517 regex[REGEX_DATA] = regex[REGEX_DATA] || {}; 1520 r2 = regex[REGEX_DATA][cacheKey] || (regex[REGEX_DATA][cacheKey] = copyRegex(regex, { 1963 regex = new RegExp(regex); [all …]
|