Home
last modified time | relevance | path

Searched refs:regex (Results 326 – 350 of 380) sorted by path

1...<<111213141516

/plugin/syntaxhighlighter3/sxh3/src/js/
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 DshBrushGroovy.js29 …{ 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 DshBrushHaxe.js14 { 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 DshBrushJScript.js18 { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
19 { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
20 { regex: r.singleLineCComments, css: 'comments' }, // one line comments
21 { regex: r.multiLineCComments, css: 'comments' }, // multiline comments
22 …{ regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endreg…
23 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
H A DshBrushJava.js17 { 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
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 DshBrushPerl.js46 { regex: /#.*$/gm, css: 'comments' },
47 { regex: /^#!.*\n/g, css: 'preprocessor' }, // shebang
48 { regex: /-?\w+(?=\s*=(>|&gt;))/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: /(?:&amp;|[$@%*]|\$#)\$?[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 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 DshBrushPowerShell.js35 …{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // on…
36 …{ regex: /(&lt;|<)#[\s\S]*?#(&gt;|>)/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 DshBrushPython.js26 { 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 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 DshBrushSass.js61 { 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 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 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 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 DshBrushTypeScript.js22 { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
23 { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
24 { regex: r.singleLineCComments, css: 'comments' }, // one line comments
25 { regex: r.multiLineCComments, css: 'comments' }, // multiline comments
26 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
H A DshBrushVb.js24 { regex: /'.*$/gm, css: 'comments' }, // one line comments
25 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
26 …{ regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endr…
27 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword
H A DshBrushXml.js20 regex = XRegExp('(?<name> [\\w:.-]+)' +
25 while ((attributes = XRegExp.exec(code, regex, pos)) != null)
42 …{ regex: XRegExp('(\\&lt;|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\&gt;|>)', 'gm'), css: 'color2' …
43 { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // <!-- ... -->
44 …{ regex: XRegExp('(&lt;|<)[\\s\\/\\?!]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(&gt;|>)', 'sg'), func:…
H A DshCore.js732 regex = XRegExp(
745 while ((match = XRegExp.exec(str, regex, pos)) != null)
937 regex = /^\s*/,
949 var matches = regex.exec(line);
1016 while((match = XRegExp.exec(code, regexInfo.regex, pos)) != null)
1217 { regex: scriptBrush.htmlScript.code, func: process }
1699 var regex = { 'end' : regexGroup.right.source }; class
1702 regex.end = "(?:(?:" + regex.end + ")|$)";
1705 left : { regex: regexGroup.left, css: 'script' }, property in htmlScript.left
1706 right : { regex: regexGroup.right, css: 'script' }, property in htmlScript.right
[all …]
H A DshLegacy.js17 var regex = XRegExp('^' + name + '\\[(?<value>\\w+)\\]$', 'gi'),
22 if ((match = XRegExp.exec(list[i], regex)) != null)
/plugin/syntaxhighlighter4/dist/
H A Dsyntaxhighlighter.js639 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 …]
H A Dsyntaxhighlighter.js.map1regex/index.js","webpack:///./repos/syntaxhighlighter-regex/xregexp.js","webpack:///./repos/syntax…
/plugin/tablefilterjs/
H A Dscript.js33 var regex = new RegExp( filters[col][0], filters[col][1] );
35 if( ! jQuery(this).find("td").eq(eq).text().match( regex ) )
/plugin/tablelayout/
H A Dyarn.lock40 ansi-regex@^2.0.0:
44 ansi-regex@^3.0.0:
788 filename-regex@^2.0.0:
1130 ansi-regex "^2.0.0"
1596 filename-regex "^2.0.0"
1603 regex-cache "^0.4.2"
2037 regex-cache@^0.4.2:
2191 shebang-regex "^1.0.0"
2193 shebang-regex@^1.0.0:
2294 ansi-regex "^2.0.0"
[all …]
/plugin/tocselect/
H A Daction.php40 $regex = preg_quote(':*');
41 if(preg_match('/^(.*?)' . $regex . '\s*$/',$wikifn,$matches))

1...<<111213141516