Home
last modified time | relevance | path

Searched refs:regex (Results 226 – 250 of 380) sorted by last modified time

12345678910>>...16

/plugin/ckgdoku/scripts/
H A Dparse_wiki.js.unc19 if(results.match(regex)) return true;
22 if(results.match(regex)) return true;
25 if(results.match(regex)) return true;
28 if(results.match(regex)) return true;
905 regex = regex.replace(/([\/\\])/g, "\\$1");
906 regex = '^.*?' + regex + '(.*)';
907regex = new RegExp(regex);
1574 try { // in case regex throws error on dynamic regex creation
1576 if(results.match(regex)) {
1706 results = results.replace(regex,'');
[all …]
H A DsafeFN_class.js68 var regex = new RegExp('(?=[' + this.pre_indicator + '\\' + this.post_indicator + '])');
69 var split_array = safe.split(regex);
111 var regex = new RegExp(String.fromCharCode(codepoint));
112 var match = plain_str.match(regex);
/plugin/ckgdoku/ckeditor/plugins/fontAssist/
H A Dplugin.js.unc220 var regex = new RegExp(sel.options[i].label,"i");
221 if(item.match(regex) ) {
/plugin/usercontact/
H A Dscript.js5 var regex = new RegExp(JSINFO.plugin.usercontact.users_namespace + '$');
46 var match = href.replace(/\//g, ':').match(regex);
/plugin/autogroup/
H A Daction.php118 list($attr, $regex) = $line;
119 $match |= preg_match($regex, $oldinfo[$attr]);
/plugin/dwcommits/
H A Dhelper.php521 $regex = $this->get_hilite_regex($query);
531 function format_tablerow($row,$regex) { argument
545 if($regex) {
583 $regex = "";
586 $regex = "/($term1|$term2)/ims";
589 $regex = "/($term1)/ims";
591 return $regex;
597 $regex = $this->get_hilite_regex($query);
601 $output .= $this->format_row($row,$regex);
608 function format_row($row,$regex) { argument
[all …]
/plugin/vkeyboard/
H A Dvkeyboard.js.unc1082 var regex = new RegExp(VKI_KBLAYOUT,"i");
1083 if(this.VKI_layout[i].name.match(regex)) {
/plugin/mdpage/vendor/cebe/markdown/
H A DREADME.md472 I found that most of the implementations use regex to replace patterns instead
474 as you have to come up with a complex regex, that matches your addition but does not mess
480 than the regex way. Parsedown however is an implementation that focuses on speed and implements
/plugin/fckg/action/
H A Dedit.php2803 $regex = '~~NOCACHE~~|~~NOTOC~~';
2828 $regex .= "|$pattern";
2833 $regex = ltrim($regex, '|');
2858 return array('plugins'=> $regex, 'xcl'=> $regex_xcl);
/plugin/fckg/fckeditor/editor/plugins/range/
H A Dfckplugin.js225 … var regex = new RegExp(/([^\xA0\ufffd\xb7]*)([\xA0\ufffd\xb7]+)([^\xA0\ufffd\xb7]*)/g);
228 while(result = regex.exec(str)) {
/plugin/fckg/fckeditor/editor/filemanager/connectors/php/
H A Dconfig.php226 …$regex = $isWindows ? '\editor\filemanager\connectors' : 'lib/plugins/fckg/fckeditor/editor/filema…
230 …$regex = $isWindows ? 'lib\plugins\fckg\fckeditor\editor\filemanager\connectors' : 'lib/plugins/fc…
234 $regex = preg_quote($regex, '/');
236 $dir = preg_replace('/'. $regex .'.*/', $data_media, $dir);
H A Dutil.php39 $regex =
50 while (preg_match('/'.$regex.'/S', $string, $matches)) {
/plugin/fckg/scripts/
H A DsafeFN_class.js68 var regex = new RegExp('(?=[' + this.pre_indicator + '\\' + this.post_indicator + '])');
69 var split_array = safe.split(regex);
111 var regex = new RegExp(String.fromCharCode(codepoint));
112 var match = plain_str.match(regex);
/plugin/fckg/fckeditor/editor/filemanager/browser/default/js/
H A DsafeFN_class.js64 var regex = new RegExp('(?=[' + this.pre_indicator + '\\' + this.post_indicator + '])');
65 var split_array = safe.split(regex);
107 var regex = new RegExp(String.fromCharCode(codepoint));
108 var match = plain_str.match(regex);
/plugin/fckg/
H A DChanges87 Fixed regex which removed precent-escaped backslashes in plugin syntax so that backslashes are
205 Fixed regex for recognizing indented code blocks.
/plugin/fckg/syntax/
H A Ddwplugin.php119 $regex = '/' . preg_quote($entry_match, '/') . '(.*?)' . preg_quote($_exit, '/') . '/';
121 if(preg_match( $regex, $match, $matches)) {
269 foreach ($regexes as $regex) {
270 $regex = "/($regex)/";
271 if(preg_match( $regex, $text, $matches) ) {
347 list($index, $regex) = each($pattern);
348 if(preg_match('/' . $regex . '/', $text)) {
/plugin/fckg/fckeditor/editor/dialog/fck_link/
H A Dfck_link.js1432 var regex = new RegExp(match_val,"i");
1435 if(!i.match(regex)) continue;
/plugin/syntaxhighlighter3/sxh3/src/js/
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 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 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
/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 DshBrushAppleScript.js32 { 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 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
H A DshCore.js124 return regex;
161 if (regex.xregexp && !regex.xregexp.isNative) {
163 regex = augment(self(regex.source, flags),
167 regex = augment(new RegExp(regex.source, flags), null, true);
169 return regex;
404 if (regex) {
670 var item = chain[level].regex ? chain[level] : {regex: chain[level]},
977 regex = new RegExp(regex); // Use native `RegExp`
2013 regex = XRegExp(
2218 regex = /^\s*/,
[all …]

12345678910>>...16