Home
last modified time | relevance | path

Searched defs:regex (Results 26 – 50 of 164) sorted by relevance

1234567

/plugin/syntaxhighlighter/Scripts/
DshBrushDelphi.js9 …hile widechar '+'widestring with word write writeln xor';this.regexList=[{regex:new RegExp('\\(\\*… property
DshBrushJava.js9 … throw throws true '+'transient try void volatile while';this.regexList=[{regex:dp.sh.RegexLib.Sin… property
DshBrushPython.js10 this.regexList=[{regex:dp.sh.RegexLib.SingleLinePerlComments,css:'comment'},{regex:new RegExp("^\\s… property
DshBrushCss.js9 …on '+'background-repeat background baseline bbox border-collapse border-color border-spacing borde…
DshBrushCpp.js9 … HACCEL HALF_PTR HANDLE HBITMAP HBRUSH '+'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK H…
DshBrushPhp.js9 …ray_count_values array_diff '+'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey a…
/plugin/syntaxhighlighter/Uncompressed/
DshBrushPython.js11 { regex: dp.sh.RegexLib.SingleLinePerlComments, css: 'comment' }, property
12 { regex: new RegExp("^\\s*@\\w+", 'gm'), css: 'decorator' }, property
13 { regex: new RegExp("(['\"]{3})([^\\1])*?\\1", 'gm'), css: 'comment' }, property
14 { regex: new RegExp('"(?!")(?:\\.|\\\\\\"|[^\\""\\n\\r])*"', 'gm'), css: 'string' }, property
15 { regex: new RegExp("'(?!')*(?:\\.|(\\\\\\')|[^\\''\\n\\r])*'", 'gm'), css: 'string' }, property
16 { regex: new RegExp("\\b\\d+\\.?\\w*", 'g'), css: 'number' }, property
17 { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' }, property
18 { regex: new RegExp(this.GetKeywords(special), 'gm'), css: 'special' } property
DshBrushDelphi.js17 …{ regex: new RegExp('\\(\\*[\\s\\S]*?\\*\\)', 'gm'), css: 'comment' }, // multiline comments … property
18 …{ regex: new RegExp('{(?!\\$)[\\s\\S]*?}', 'gm'), css: 'comment' }, // multiline comments { } property
19 { regex: dp.sh.RegexLib.SingleLineCComments, css: 'comment' }, // one line property
20 { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // strings property
21 …{ regex: new RegExp('\\{\\$[a-zA-Z]+ .+\\}', 'g'), css: 'directive' }, // Compiler Directives … property
22 { regex: new RegExp('\\b[\\d\\.]+\\b', 'g'), css: 'number' }, // numbers 12345 property
23 { regex: new RegExp('\\$[a-zA-Z0-9]+\\b', 'g'), css: 'number' }, // numbers $F5D3 property
24 { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } // keyword property
DshBrushCss.js36 { regex: dp.sh.RegexLib.MultiLineCComments, css: 'comment' }, // multiline comments property
37 { regex: dp.sh.RegexLib.DoubleQuotedString, css: 'string' }, // double quoted strings property
38 { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // single quoted strings property
39 { regex: new RegExp('\\#[a-zA-Z0-9]{3,6}', 'g'), css: 'value' }, // html colors property
40 { regex: new RegExp('(-?\\d+)(\.\\d+)?(px|em|pt|\:|\%|)', 'g'), css: 'value' }, // sizes property
41 { regex: new RegExp('!important', 'g'), css: 'important' }, // !important property
42 { regex: new RegExp(this.GetKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords property
43 { regex: new RegExp(this.GetValuesCSS(values), 'g'), css: 'value' }, // values property
44 { regex: new RegExp(this.GetValuesCSS(fonts), 'g'), css: 'value' } // fonts property
/plugin/syntaxhighlighter3/sxh3/pkg/scripts/
DshBrushCSharp.js44 …{ regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line commen… property
45 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments property
46 { regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings property
47 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings property
48 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
49 …{ regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endr… property
50 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword property
51 …{ regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keywor… property
52 … { regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield' property
DshBrushJava.js33 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments property
34 { regex: /\/\*([^\*][\s\S]*?)?\*\//gm, css: 'comments' }, // multiline comments property
35 { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments property
36 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings property
37 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
38 { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers property
39 { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno property
40 { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword property
41 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword property
DshBrushCpp.js79 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments property
80 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments property
81 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings property
82 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
83 { regex: /^ *#.*/gm, css: 'preprocessor' }, property
84 { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' }, property
85 { regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' }, property
86 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' } property
DshBrushDelphi.js37 { regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *) property
38 { regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { } property
39 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line property
40 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
41 { regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags property
42 { regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345 property
43 { regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3 property
44 { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword property
DshBrushTAP.js33 { regex: new RegExp('^1..\\d+', 'gm'), css: 'plain bold italic' }, property
36 { regex: new RegExp('^ok( \\d+)?', 'gm'), css: 'keyword' }, property
37 { regex: new RegExp('^not ok( \\d+)?', 'gm'), css: 'color3 bold' }, property
40 { regex: new RegExp('(?!^\\s*)#.*$', 'gm'), css: 'variable bold' }, property
43 { regex: new RegExp('^#.*$', 'gm'), css: 'comments bold' }, property
46 { regex: new RegExp('^(?!(not )?ok)[^1].*$', 'gm'), css: 'comments' }, property
49 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, property
50 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, property
DshBrushScala.js33 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments property
34 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments property
35 …{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line st… property
36 …{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quo… property
37 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
38 { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers property
39 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords property
40 { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword property
DshBrushRuby.js35 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line commen… property
36 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings property
37 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings property
38 { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants property
39 { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols property
40 …{ regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class varia… property
41 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords property
42 { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins property
DshBrushPhp.js68 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments property
69 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments property
70 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strin… property
71 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strin… property
72 { regex: /\$\w+/g, css: 'variable' }, // variables property
73 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions property
74 { regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants property
75 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword property
/plugin/syntaxhighlighter3/sxh3/src/js/
DshBrushJava.js17 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments property
18 { regex: /\/\*([^\*][\s\S]*?)?\*\//gm, css: 'comments' }, // multiline comments property
19 { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments property
20 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings property
21 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
22 { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers property
23 { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno property
24 { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword property
25 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword property
DshBrushCSharp.js28 …{ regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line commen… property
29 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments property
30 { regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings property
31 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings property
32 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
33 …{ regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endr… property
34 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword property
35 …{ regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keywor… property
36 … { regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield' property
DshBrushDelphi.js21 { regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *) property
22 { regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { } property
23 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line property
24 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
25 { regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags property
26 { regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345 property
27 { regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3 property
28 { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword property
DshBrushCpp.js63 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments property
64 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments property
65 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings property
66 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
67 { regex: /^ *#.*/gm, css: 'preprocessor' }, property
68 { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' }, property
69 { regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' }, property
70 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' } property
DshBrushPhp.js52 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments property
53 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments property
54 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strin… property
55 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strin… property
56 { regex: /\$\w+/g, css: 'variable' }, // variables property
57 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions property
58 { regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants property
59 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword property
DshBrushScala.js17 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments property
18 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments property
19 …{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line st… property
20 …{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quo… property
21 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings property
22 { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers property
23 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords property
24 { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword property
DshBrushRuby.js19 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line commen… property
20 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings property
21 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings property
22 { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants property
23 { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols property
24 …{ regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class varia… property
25 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords property
26 { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins property
DshBrushTAP.js17 { regex: new RegExp('^1..\\d+', 'gm'), css: 'plain bold italic' }, property
20 { regex: new RegExp('^ok( \\d+)?', 'gm'), css: 'keyword' }, property
21 { regex: new RegExp('^not ok( \\d+)?', 'gm'), css: 'color3 bold' }, property
24 { regex: new RegExp('(?!^\\s*)#.*$', 'gm'), css: 'variable bold' }, property
27 { regex: new RegExp('^#.*$', 'gm'), css: 'comments bold' }, property
30 { regex: new RegExp('^(?!(not )?ok)[^1].*$', 'gm'), css: 'comments' }, property
33 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, property
34 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, property

1234567