/plugin/whyspam/ |
H A D | admin.php | 85 if(preg_match('#('.$block.')#si',$text,$matches)){ 86 $pos = strpos($text,$matches[0]); 88 $l = strlen($matches[0])+30;
|
/plugin/projects/plugins/file/ |
H A D | plot_dependency.php | 140 '/ *(.*?) *= *(?i:([^\'"]*?)|\'(.*?)\'|"(.*?)") *(,|$)/', $string, $matches, PREG_SET_ORDER); 141 foreach ($matches as $match)
|
H A D | latex_dependency.php | 44 $matched = preg_match_all($pattern, $content, $matches); 46 return $matches; 51 $matches = match_command($command, $content); 52 if ($matches == NULL) return array(); 53 foreach ($matches['content'] as $match)
|
/plugin/projects/lib/ |
H A D | tools.php | 123 if (!preg_match('/(\d+) *(B|KB|MB|GB|TB)?/', $limit, $matches)) { 127 $size = $matches[1]; 128 if (count($matches) > 2) switch ($matches[2]) {
|
/plugin/fblogin/lib/ |
H A D | base_facebook.php | 958 $matches = array(); 960 if (preg_match($regex, curl_error($ch), $matches)) { 961 if (strlen(@inet_pton($matches[1])) === 16) {
|
/plugin/bible/ |
H A D | syntax.php | 97 $result = preg_match("/^.*?(\d*?\s*?\w+) (\d+):(\d+)(-(\d+))*$/", $inputVerse, $matches); 99 $chapterName = trim($matches[1]); 101 $thisChapterNum = $matches[2]; 102 $thisVerseNum = $matches[3]; 103 $throughVerse = $matches[5]; 138 $result = preg_match("/^.*?(\d+:\d+)\.(.*?)$/", $line, $matches); 141 $thisVerse = $matches[1]; 142 $content = $matches[2];
|
/plugin/editsections2/ |
H A D | action.php | 108 if (preg_match_all($marker_regexp, $doc, $matches)) { 109 list($markers, $secids, $titles, $starts, $ends) = $matches;
|
/plugin/preservefilenames/ |
H A D | action_anteater.php | 60 preg_match($filename_pat, $_POST['id'], $matches); 61 $filename_orig = $matches[1]; 272 static function _replaceLinkURL_callback_a($matches) argument 274 list($atag, $attr_str, $linktext, $autofilled, $filename) = array_slice($matches, 0, 5); 280 if (isset($matches[5])) { 282 $filename = $matches[8]; 283 $linktext = self::_replaceLinkURL_callback_img(array_slice($matches, 5, 4)); 312 static function _replaceLinkURL_callback_img($matches) argument 314 list($imgtag, $imgtitle, $autofilled, $filename) = $matches;
|
H A D | common.php | 34 static function _correctBasename_callback($matches) argument 36 return rawurldecode($matches[0]);
|
H A D | script.js | 63 matches; 72 (matches = id.match(/^((?::[^:]+)*:)[^:]+$/)) 75 id = matches[1] + filename;
|
/plugin/composer/ |
H A D | syntax.php | 138 if (preg_match("/numbers:(\d)*/", $givenOptString, $matches)) { 141 $opt["numbers_depth"] = $matches[1];
|
/plugin/rack/ |
H A D | syntax.php | 166 …w+)? \s* ( link: (?: (?:\[\[[^]|]+(?:\|[^]]*)?]]) | \S* ) )? \s* (.*?)? \s* $/x',$line,$matches)) { 167 $item['u_bottom'] = $matches[1]; 168 $item['u_size'] = $matches[2]; 169 $item['model'] = preg_replace('/^"/','',preg_replace('/"$/','',$matches[3])); 170 $item['name'] = preg_replace('/^"/','',preg_replace('/"$/','',$matches[4])); 171 $item['color'] = $matches[5] ? $matches[5] : $this->autoselect_color($item); 173 $item['link'] = substr($matches[6], 5); 180 $item['comment'] = $matches[7];
|
/plugin/nohighlight/ |
H A D | action.php | 168 preg_match('/[?&]do=search&id=([^&]+)/', $referer, $matches) 173 $query = urldecode($matches[1]);
|
/plugin/fedauth/Auth/OpenID/ |
H A D | Parse.php | 169 $matches = array(); 172 if ($result === false || !$matches) { 176 return $matches[0][1]; 181 $matches = array(); 184 if ($result === false || !$matches) { 188 return $matches[count($matches) - 1][1]; 206 $matches = array(); 211 return $matches[1]; 213 return $matches[1]; 351 if (!$matches) { [all …]
|
H A D | Association.php | 591 $matches = in_array($session_type, 594 return ($assoc_good && $matches);
|
H A D | TrustRoot.php | 235 preg_match(Auth_OpenID___TLDs, $parts['host'], $matches); 236 if (!$matches) { 239 $tld = $matches[1];
|
H A D | Nonce.php | 35 $result = preg_match(Auth_OpenID_Nonce_REGEX, $nonce_string, $matches); 36 if ($result != 1 || count($matches) != 8) { 47 $uniquifier) = $matches;
|
/plugin/fedauth/Auth/Yadis/ |
H A D | XRDS.php | 428 $matches = 0; 433 $matches++; 452 ($matches == count($filters))) {
|
H A D | ParseHTML.php | 102 $matches = array(); 106 if (preg_match($double, $str, $matches)) { 107 return $matches[1]; 108 } else if (preg_match($single, $str, $matches)) { 109 return $matches[1]; 172 $matches = array(); 173 preg_match($pat, $html_string, $matches, PREG_OFFSET_CAPTURE); 174 if($matches) { 175 $key_tags_pos[] = $matches[0][1];
|
/plugin/formatplus/syntax/ |
H A D | blockdeleteplus.php | 71 if(preg_match("/^(.*) =(.*?) @(.*?)$/", $match, $matches)){ 72 $output = array(trim($matches[1]),trim($matches[2]),trim($matches[3])); 73 }elseif(preg_match("/^(.*) @(.*?) =(.*?)$/", $match, $matches)){ 74 $output = array(trim($matches[1]),trim($matches[3]),trim($matches[2])); 75 }elseif(preg_match("/^(.*) =(.*?)$/", $match, $matches)){ 76 $output = array(trim($matches[1]),trim($matches[2]),''); 77 }elseif(preg_match("/^(.*) @(.*?)$/", $match, $matches)){ 78 $output = array(trim($matches[1]),'',trim($matches[2]));
|
H A D | blockinsertplus.php | 66 if(preg_match("/^(.*) =(.*?) @(.*?)$/", $match, $matches)){ 67 $output = array(trim($matches[1]),trim($matches[2]),trim($matches[3])); 68 }elseif(preg_match("/^(.*) @(.*?) =(.*?)$/", $match, $matches)){ 69 $output = array(trim($matches[1]),trim($matches[3]),trim($matches[2])); 70 }elseif(preg_match("/^(.*) =(.*?)$/", $match, $matches)){ 71 $output = array(trim($matches[1]),trim($matches[2]),''); 72 }elseif(preg_match("/^(.*) @(.*?)$/", $match, $matches)){ 73 $output = array(trim($matches[1]),'',trim($matches[2]));
|
/plugin/jquery-syntax/jquery-syntax/ |
H A D | jquery.syntax.core.js | 12 …lem.children){arguments.callee(elem.childNodes,offset);}}})(elems);matches.shift();return matches;} 18 …atchesWithOffsets=function(matches,linearOffsets,text){(function(matches){for(var i=0;i<matches.le… argument 19 …ch.children);}})(matches);return matches;};Syntax.extractMatches=function(){var rules=arguments;re… 22 …{matches.push(Syntax.Brush.buildTree(rule,match[index],RegExp.indexOf(match,index)));}else{var exp… 86 …matches=[],pattern=new RegExp;pattern.compile(rule.pattern);while((match=pattern.exec(text))!==nul… 88 return matches;} 93 if(rule.debug){Syntax.log("Syntax matches:",rule,text,matches);} 96 …ush.prototype.getMatches=function(text){var matches=[];for(var i=0;i<this.rules.length;i+=1){match… 98 …xt=text.replace(/\r/g,'');var matches=this.getMatches(text);if(offset&&offset>0){for(var i=0;i<mat… 99 …"),allow:'*',owner:this},text);matches.sort(Syntax.Match.sort);for(var i=0;i<matches.length;i+=1){… [all …]
|
H A D | jquery.syntax.brush.bash-script.js | 5 …matches:Syntax.extractMatches({brush:'bash-statement'})});});Syntax.register('bash-statement',func…
|
H A D | jquery.syntax.brush.lisp.js | 5 …rush.push(Syntax.lib.webLink);brush.push({pattern:/\(\s*([^\s\(\)]+)/gmi,matches:Syntax.extractMat…
|
H A D | jquery.syntax.brush.php.js | 5 …'php',function(brush){brush.push({pattern:/(<\?(php)?)((.|\n)*?)(\?>)/gm,matches:Syntax.extractMat…
|