Home
last modified time | relevance | path

Searched refs:regex (Results 26 – 50 of 380) sorted by relevance

12345678910>>...16

/plugin/syntaxhighlighter3/sxh3/pkg/scripts/
H A DshBrushAS3.js38 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
39 … { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
40 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
41 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
42 { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
43 { regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations
44 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
45 { regex: new RegExp('var', 'gm'), css: 'variable' }, // variable
46 { regex: new RegExp('trace', 'gm'), css: 'color1' } // trace
H A DshBrushTAP.js33 { regex: new RegExp('^1..\\d+', 'gm'), css: 'plain bold italic' },
36 { regex: new RegExp('^ok( \\d+)?', 'gm'), css: 'keyword' },
37 { regex: new RegExp('^not ok( \\d+)?', 'gm'), css: 'color3 bold' },
40 { regex: new RegExp('(?!^\\s*)#.*$', 'gm'), css: 'variable bold' },
43 { regex: new RegExp('^#.*$', 'gm'), css: 'comments bold' },
46 { regex: new RegExp('^(?!(not )?ok)[^1].*$', 'gm'), css: 'comments' },
49 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
50 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
H A DshBrushCss.js67 { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
68 … { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
69 … { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
70 { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
71 { regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes
72 { regex: /!important/g, css: 'color3' }, // !important
73 { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
74 { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
75 { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
H A DshBrushCSharp.js44 …{ regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line commen…
45 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
46 { regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings
47 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
48 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
49 …{ regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endr…
50 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword
51 …{ regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keywor…
52 … { regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield'
H A DshBrushDelphi.js37 { regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *)
38 { regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { }
39 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line
40 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
41 { regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags
42 { regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345
43 { regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3
44 { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
H A DshBrushCpp.js79 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
80 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
81 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
82 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
83 { regex: /^ *#.*/gm, css: 'preprocessor' },
84 { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' },
85 { regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' },
86 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' }
H A DshBrushScala.js33 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
34 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
35 …{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line st…
36 …{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quo…
37 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
38 { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers
39 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
40 { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword
/plugin/syntaxhighlighter3/sxh3/src/js/
H A DshBrushAS3.js22 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
23 … { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
24 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
25 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
26 { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
27 { regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations
28 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
29 { regex: new RegExp('var', 'gm'), css: 'variable' }, // variable
30 { regex: new RegExp('trace', 'gm'), css: 'color1' } // trace
H A DshBrushTAP.js17 { regex: new RegExp('^1..\\d+', 'gm'), css: 'plain bold italic' },
20 { regex: new RegExp('^ok( \\d+)?', 'gm'), css: 'keyword' },
21 { regex: new RegExp('^not ok( \\d+)?', 'gm'), css: 'color3 bold' },
24 { regex: new RegExp('(?!^\\s*)#.*$', 'gm'), css: 'variable bold' },
27 { regex: new RegExp('^#.*$', 'gm'), css: 'comments bold' },
30 { regex: new RegExp('^(?!(not )?ok)[^1].*$', 'gm'), css: 'comments' },
33 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
34 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
H A DshBrushCSharp.js28 …{ regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line commen…
29 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
30 { regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings
31 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
32 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
33 …{ regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endr…
34 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword
35 …{ regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keywor…
36 … { regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield'
H A DshBrushCss.js51 { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
52 … { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
53 … { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
54 { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
55 { regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes
56 { regex: /!important/g, css: 'color3' }, // !important
57 { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
58 { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
59 { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
H A DshBrushDelphi.js21 { regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *)
22 { regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { }
23 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line
24 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
25 { regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags
26 { regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345
27 { regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3
28 { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
H A DshBrushScala.js17 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
18 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
19 …{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line st…
20 …{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quo…
21 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
22 { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers
23 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
24 { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword
H A DshBrushCpp.js63 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
64 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
65 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
66 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
67 { regex: /^ *#.*/gm, css: 'preprocessor' },
68 { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' },
69 { regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' },
70 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' }
/plugin/syntaxhighlighter/Uncompressed/
H A DshBrushCss.js36 { regex: dp.sh.RegexLib.MultiLineCComments, css: 'comment' }, // multiline comments
37 { regex: dp.sh.RegexLib.DoubleQuotedString, css: 'string' }, // double quoted strings
38 { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // single quoted strings
39 { regex: new RegExp('\\#[a-zA-Z0-9]{3,6}', 'g'), css: 'value' }, // html colors
40 { regex: new RegExp('(-?\\d+)(\.\\d+)?(px|em|pt|\:|\%|)', 'g'), css: 'value' }, // sizes
41 { regex: new RegExp('!important', 'g'), css: 'important' }, // !important
42 { regex: new RegExp(this.GetKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
43 { regex: new RegExp(this.GetValuesCSS(values), 'g'), css: 'value' }, // values
44 { regex: new RegExp(this.GetValuesCSS(fonts), 'g'), css: 'value' } // fonts
H A DshBrushPython.js11 { regex: dp.sh.RegexLib.SingleLinePerlComments, css: 'comment' },
12 { regex: new RegExp("^\\s*@\\w+", 'gm'), css: 'decorator' },
13 { regex: new RegExp("(['\"]{3})([^\\1])*?\\1", 'gm'), css: 'comment' },
14 { regex: new RegExp('"(?!")(?:\\.|\\\\\\"|[^\\""\\n\\r])*"', 'gm'), css: 'string' },
15 { regex: new RegExp("'(?!')*(?:\\.|(\\\\\\')|[^\\''\\n\\r])*'", 'gm'), css: 'string' },
16 { regex: new RegExp("\\b\\d+\\.?\\w*", 'g'), css: 'number' },
17 { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' },
18 { regex: new RegExp(this.GetKeywords(special), 'gm'), css: 'special' }
H A DshBrushDelphi.js17 …{ regex: new RegExp('\\(\\*[\\s\\S]*?\\*\\)', 'gm'), css: 'comment' }, // multiline comments …
18 …{ regex: new RegExp('{(?!\\$)[\\s\\S]*?}', 'gm'), css: 'comment' }, // multiline comments { }
19 { regex: dp.sh.RegexLib.SingleLineCComments, css: 'comment' }, // one line
20 { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // strings
21 …{ regex: new RegExp('\\{\\$[a-zA-Z]+ .+\\}', 'g'), css: 'directive' }, // Compiler Directives …
22 { regex: new RegExp('\\b[\\d\\.]+\\b', 'g'), css: 'number' }, // numbers 12345
23 { regex: new RegExp('\\$[a-zA-Z0-9]+\\b', 'g'), css: 'number' }, // numbers $F5D3
24 { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } // keyword
H A DshBrushJava.js12 { regex: dp.sh.RegexLib.SingleLineCComments, css: 'comment' }, // one line comments
13 { regex: dp.sh.RegexLib.MultiLineCComments, css: 'comment' }, // multiline comments
14 { regex: dp.sh.RegexLib.DoubleQuotedString, css: 'string' }, // strings
15 { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // strings
16 { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'number' }, // numbers
17 …{ regex: new RegExp('(?!\\@interface\\b)\\@[\\$\\w]+\\b', 'g'), css: 'annotation' }, // annotati…
18 { regex: new RegExp('\\@interface\\b', 'g'), css: 'keyword' }, // @interface keyword
19 { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } // java keyword
/plugin/syntaxhighlighter/Scripts/
H A DshBrushCss.js9regex:dp.sh.RegexLib.MultiLineCComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,cs…
H A DshBrushDelphi.js9regex:new RegExp('\\(\\*[\\s\\S]*?\\*\\)','gm'),css:'comment'},{regex:new RegExp('{(?!\\$)[\\s\\S]…
H A DshBrushPython.js10regex:dp.sh.RegexLib.SingleLinePerlComments,css:'comment'},{regex:new RegExp("^\\s*@\\w+",'gm'),cs…
H A DshBrushJava.js9regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.MultiLineCComments,c…
/plugin/codemirror/dist/modes/
H A Dlivescript.min.js.map1regex","match","token","external","startState","lastToken","style","indent","content","pos","start…
H A Dfactor.min.js.map1regex","token","next","vocabulary","string","string2","string3","stack","meta","dontIndentStates",…
H A Drust.min.js.map1regex","token","next","indent","dedent","string","string_raw","string_raw_hash","comment","meta","…

12345678910>>...16