Home
last modified time | relevance | path

Searched refs:regex (Results 51 – 75 of 380) sorted by relevance

12345678910>>...16

/plugin/syntaxhighlighter3/sxh3/src/js/
H A DshBrushRuby.js19 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line commen…
20 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
21 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
22 { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants
23 { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols
24 …{ regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class varia…
25 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
26 { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins
H A DshBrushPhp.js52 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
53 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
54 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strin…
55 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strin…
56 { regex: /\$\w+/g, css: 'variable' }, // variables
57 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
58 { regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
59 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
H A DshBrushErlang.js19 { regex: new RegExp("[A-Z][A-Za-z0-9_]+", 'g'), css: 'constants' },
20 { regex: new RegExp("\\%.+", 'gm'), css: 'comments' },
21 { regex: new RegExp("\\?[A-Za-z0-9_]+", 'g'), css: 'preprocessor' },
22 { regex: new RegExp("[a-z0-9_]+:[a-z0-9_]+", 'g'), css: 'functions' },
23 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
24 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
25 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
H A DshBrushSql.js33 …{ regex: /--(.*)$/gm, css: 'comments' }, // one li…
34 …{ regex: /\/\*([^\*][\s\S]*?)?\*\//gm, css: 'comments' }, // multi …
35 …{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double…
36 …{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single…
37 …{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functi…
38 …{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operat…
39 …{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
H A DshBrushColdFusion.js67 { regex: new RegExp('--(.*)$', 'gm'), css: 'comments' }, // one line and multiline comments
68 { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // single quoted strings
69 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted stri…
70 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted stri…
71 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // functions
72 … { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
73 { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
H A DshBrushJavaFX.js24 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' },
25 { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' },
26 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
27 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
28 …{ regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // num…
29 { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes
30 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
H A DshBrushBash.js41 { regex: /^#!.*$/gm, css: 'preprocessor bold' },
42 { regex: /\/[\w-\/]+/gm, css: 'plain' },
43 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comme…
44 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strin…
45 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strin…
46 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
47 { regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' }, // commands
48 …{ regex: new XRegExp("(?<full_tag>(&lt;|<){2}(?<tag>\\w+)) .*$(?<here_doc>[\\s\\S]*)(?<end_tag>^\\…
H A DshBrushDiff.js9 { regex: /^\+\+\+ .*$/gm, css: 'color2' }, // new file
10 { regex: /^\-\-\- .*$/gm, css: 'color2' }, // old file
11 { regex: /^\s.*$/gm, css: 'color1' }, // unchanged
12 { regex: /^@@.*@@.*$/gm, css: 'variable' }, // location
13 { regex: /^\+.*$/gm, css: 'string' }, // additions
14 { regex: /^\-.*$/gm, css: 'color3' } // deletions
/plugin/syntaxhighlighter3/sxh3/pkg/scripts/
H A DshBrushRuby.js35 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line commen…
36 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
37 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
38 { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants
39 { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols
40 …{ regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class varia…
41 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
42 { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins
H A DshBrushPhp.js68 … { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
69 …{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
70 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strin…
71 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strin…
72 { regex: /\$\w+/g, css: 'variable' }, // variables
73 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
74 { regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
75 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
H A DshBrushErlang.js35 { regex: new RegExp("[A-Z][A-Za-z0-9_]+", 'g'), css: 'constants' },
36 { regex: new RegExp("\\%.+", 'gm'), css: 'comments' },
37 { regex: new RegExp("\\?[A-Za-z0-9_]+", 'g'), css: 'preprocessor' },
38 { regex: new RegExp("[a-z0-9_]+:[a-z0-9_]+", 'g'), css: 'functions' },
39 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
40 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
41 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
H A DshBrushSql.js49 …{ regex: /--(.*)$/gm, css: 'comments' }, // one li…
50 …{ regex: /\/\*([^\*][\s\S]*?)?\*\//gm, css: 'comments' }, // multi …
51 …{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double…
52 …{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single…
53 …{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functi…
54 …{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operat…
55 …{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
H A DshBrushColdFusion.js83 { regex: new RegExp('--(.*)$', 'gm'), css: 'comments' }, // one line and multiline comments
84 { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // single quoted strings
85 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted stri…
86 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted stri…
87 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // functions
88 … { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
89 { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
H A DshBrushJavaFX.js40 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' },
41 { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' },
42 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
43 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
44 …{ regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // num…
45 { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes
46 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
H A DshBrushBash.js57 { regex: /^#!.*$/gm, css: 'preprocessor bold' },
58 { regex: /\/[\w-\/]+/gm, css: 'plain' },
59 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comme…
60 …{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strin…
61 …{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strin…
62 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
63 { regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' }, // commands
64 …{ regex: new XRegExp("(?<full_tag>(&lt;|<){2}(?<tag>\\w+)) .*$(?<here_doc>[\\s\\S]*)(?<end_tag>^\\…
H A DshBrushDiff.js25 { regex: /^\+\+\+ .*$/gm, css: 'color2' }, // new file
26 { regex: /^\-\-\- .*$/gm, css: 'color2' }, // old file
27 { regex: /^\s.*$/gm, css: 'color1' }, // unchanged
28 { regex: /^@@.*@@.*$/gm, css: 'variable' }, // location
29 { regex: /^\+.*$/gm, css: 'string' }, // additions
30 { regex: /^\-.*$/gm, css: 'color3' } // deletions
/plugin/move/helper/
H A Dfile.php32 $regex = '\.[^.]+';
33 return $this->execute($conf['metadir'], $src_ns, $src_name, $dst_ns, $dst_name, $regex);
48 $regex = '\.\d+\.txt(?:\.gz|\.bz2)?';
49 return $this->execute($conf['olddir'], $src_ns, $src_name, $dst_ns, $dst_name, $regex);
64 $regex = '\.[^.]+';
92 $regex = '\.\d+\.' . preg_quote((string) $ext[0], '/');
94 return $this->execute($conf['mediaolddir'], $src_ns, $name, $dst_ns, $newname, $regex);
107 $regex = '\.mlist';
108 return $this->execute($conf['metadir'], $src_ns, '', $dst_ns, '', $regex);
127 $regex = '/^' . preg_quote(utf8_encodeFN($src_name)) . '(' . $extregex . ')$/u';
[all …]
/plugin/syntaxhighlighter/Uncompressed/
H A DshBrushRuby.js13 { regex: dp.sh.RegexLib.SingleLinePerlComments, css: 'comment' }, // one line comments
14 { regex: dp.sh.RegexLib.DoubleQuotedString, css: 'string' }, // double quoted strings
15 { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // single quoted strings
16 { regex: new RegExp(':[a-z][A-Za-z0-9_]*', 'g'), css: 'symbol' }, // symbols
17 …{ regex: new RegExp('(\\$|@@|@)\\w+', 'g'), css: 'variable' }, // $global, @instance, and @@cla…
18 { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
19 { regex: new RegExp(this.GetKeywords(builtins), 'gm'), css: 'builtin' } // builtins
H A DshBrushPhp.js47 { regex: dp.sh.RegexLib.SingleLineCComments, css: 'comment' }, // one line comments
48 { regex: dp.sh.RegexLib.MultiLineCComments, css: 'comment' }, // multiline comments
49 { regex: dp.sh.RegexLib.DoubleQuotedString, css: 'string' }, // double quoted strings
50 { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // single quoted strings
51 { regex: new RegExp('\\$\\w+', 'g'), css: 'vars' }, // variables
52 { regex: new RegExp(this.GetKeywords(funcs), 'gmi'), css: 'func' }, // functions
53 { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' } // keyword
H A DshBrushCpp.js59 { regex: dp.sh.RegexLib.SingleLineCComments, css: 'comment' }, // one line comments
60 { regex: dp.sh.RegexLib.MultiLineCComments, css: 'comment' }, // multiline comments
61 { regex: dp.sh.RegexLib.DoubleQuotedString, css: 'string' }, // strings
62 { regex: dp.sh.RegexLib.SingleQuotedString, css: 'string' }, // strings
63 { regex: new RegExp('^ *#.*', 'gm'), css: 'preprocessor' },
64 { regex: new RegExp(this.GetKeywords(datatypes), 'gm'), css: 'datatypes' },
65 { regex: new RegExp(this.GetKeywords(keywords), 'gm'), css: 'keyword' }
/plugin/syntaxhighlighter/Scripts/
H A DshBrushRuby.js10regex:dp.sh.RegexLib.SingleLinePerlComments,css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedStrin…
H A DshBrushPhp.js9regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.MultiLineCComments,c…
H A DshBrushCpp.js9regex:dp.sh.RegexLib.SingleLineCComments,css:'comment'},{regex:dp.sh.RegexLib.MultiLineCComments,c…
H A DshBrushSql.js9regex:new RegExp('--(.*)$','gm'),css:'comment'},{regex:dp.sh.RegexLib.DoubleQuotedString,css:'stri…
/plugin/animation/scripts/
H A DshBrushR.js11 { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
12 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
13 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
14 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
15 { regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' },
16 { regex: /[\w._]+[ \t]*(?=\()/gm, css: 'functions' },

12345678910>>...16