/plugin/mdpage/vendor/cebe/markdown/block/ |
H A D | HtmlTrait.php | 127 if (preg_match('/^&#?[\w\d]+;/', $text, $matches)) { 128 return [['inlineHtml', $matches[0]], strlen($matches[0])]; 149 if (preg_match('~^</?(\w+\d?)( .*?)?>~s', $text, $matches)) { 151 return [['inlineHtml', $matches[0]], strlen($matches[0])]; 152 } elseif (preg_match('~^<!--.*?-->~s', $text, $matches)) { 154 return [['inlineHtml', $matches[0]], strlen($matches[0])];
|
/plugin/extranet/ |
H A D | action.php | 29 preg_match($this->getConf('extranet_ip_regex'), $client_ip, $matches); 30 return !empty($matches[0]); 44 preg_match($this->getConf('hide_regex'), $ID, $matches); 45 return !empty($matches[0]); 53 preg_match($this->getConf('hide_regex'), $media, $matches); 54 return !empty($matches[0]); 82 preg_match($titlePattern, $event->result, $matches); 84 if(!empty($matches[0])) { 85 $result .= $matches[0]."\r\n";
|
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/ |
H A D | CssCacheBustingFilter.php | 52 function ($matches) use ($version, $format) { 53 if (0 === strpos($matches['url'], 'data:')) { 54 return $matches[0]; 58 $matches['url'], 59 sprintf($format, $matches['url'], $version), 60 $matches[0]
|
/plugin/ckgdoku/ckeditor/ |
H A D | get_headers.php | 32 if (preg_match('/^=+([^=]+)=+\s*$/',$line,$matches)) { 35 if(isset($headers[$matches[1]])) { 36 $headers[$matches[1]]++; 37 $suffix_anchor = $headers[$matches[1]]; 41 $headers[$matches[1]]=0; 44 $resp .= trim($matches[1]) . $suffix_header . ";;" ; 45 $resp .= cleanID($matches[1]). $suffix_anchor . "@@" ;
|
/plugin/plantuml/ |
H A D | syntax.php | 63 if (preg_match('/\b(left|center|right)\b/i', $conf, $matches)) { 64 $return['align'] = $matches[1]; 68 if (preg_match('/\b(\d+)x(\d+)\b/', $conf, $matches)) { 69 $return['width'] = $matches[1]; 70 $return['height'] = $matches[2]; 73 $return['width'] = $matches[1]; 74 $return['percent'] = $matches[2]; 77 $return['height'] = $matches[1]; 82 if (preg_match('/\b(?:title|t)=(\w+)\b/i', $conf, $matches)) { 84 $return['title'] = $matches[1]; [all …]
|
/plugin/onlinenumber/ |
H A D | syntax.php | 50 $matches = array(); 60 if (! preg_match(PLUGIN_ONLINE_LIST_REGEX, $line, $matches) || 61 ($matches[2] + PLUGIN_ONLINE_TIMEOUT) <= UTIME || 62 $matches[2] > UTIME) continue; 65 if (! $found && $matches[1] == $host) $found = TRUE; 94 $matches = array(); 97 if (! preg_match(PLUGIN_ONLINE_LIST_REGEX, $lines[$i], $matches) || 98 ($matches[2] + PLUGIN_ONLINE_TIMEOUT) <= UTIME || 99 $matches[2] > UTIME || 100 $matches[1] == $host) {
|
/plugin/mdpage/vendor/cebe/markdown/inline/ |
H A D | LinkTrait.php | 172 if (preg_match('/^<([^\s>]*?@[^\s]*?\.\w+?)>/', $text, $matches)) { 175 ['email', $this->replaceEscape($matches[1])], 176 strlen($matches[0]) 178 } elseif (preg_match('/^<([a-z]{3,}:\/\/[^\s]+?)>/', $text, $matches)) { 181 ['url', $this->replaceEscape($matches[1])], 182 strlen($matches[0]) 266 $label = strtolower($matches[1]); 269 'url' => $this->replaceEscape($matches[2]), 271 if (isset($matches[3])) { 272 $this->references[$label]['title'] = $matches[3]; [all …]
|
/plugin/bibtex/OSBib/format/bibtexParse/ |
H A D | PARSEENTRIES.php | 271 if(preg_match("/=/", $matches[2])) // this is a field 275 $this->reduceFields($matches[3]); 287 $count += $this->braceCount($line, $matches[2]); 301 if(!array_key_exists(1, $matches)) 303 if(preg_match("/string/i", $matches[1])) 305 else if(preg_match("/preamble/i", $matches[1])) 413 preg_match("/.*[{(](.*)/", $value, $matches); 414 $preamble = substr($matches[1], 0, -1); 427 $delimit = $matches[1]; 428 $matches = preg_split("/=/", $matches[2], 2, PREG_SPLIT_DELIM_CAPTURE); [all …]
|
/plugin/pagemod/helper/ |
H A D | pagemod.php | 104 } elseif(preg_match('/^date\.format\.(.*)$/', $label, $matches)) { 105 return date($matches[1]); 110 } elseif(preg_match('/^user\.(mail|name)$/', $label, $matches)) { 111 return $INFO['userinfo'][$matches[1]]; 143 public function parsePagemod($matches) { argument 145 $full_text = $matches[0]; 146 $id = $matches[1]; 147 $params_string = $matches[2]; 148 $contents = $matches[3];
|
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/ |
H A D | MessageFormatter.php | 75 function (array $matches) use ($request, $response, $error, &$cache) { 76 if (isset($cache[$matches[1]])) { 77 return $cache[$matches[1]]; 81 switch ($matches[1]) { 155 if (strpos($matches[1], 'req_header_') === 0) { 156 $result = $request->getHeaderLine(substr($matches[1], 11)); 157 } elseif (strpos($matches[1], 'res_header_') === 0) { 159 ? $response->getHeaderLine(substr($matches[1], 11)) 164 $cache[$matches[1]] = $result;
|
/plugin/mdpage/vendor/cebe/markdown/ |
H A D | MarkdownExtra.php | 80 …[\(\'"](.+?)[\)\'"])?\s*('.$this->_specialAttributesRegex.')?\s*$/', $lines[$current], $matches)) { 81 $label = strtolower($matches[1]); 84 'url' => $this->replaceEscape($matches[2]), 86 if (isset($matches[3])) { 87 $this->references[$label]['title'] = $matches[3]; 90 …es[$current + 1]) && preg_match('/^\s+[\(\'"](.+?)[\)\'"]\s*$/', $lines[$current + 1], $matches)) { 91 $this->references[$label]['title'] = $matches[1]; 95 if (isset($matches[5])) { 96 $this->references[$label]['attributes'] = $matches[5]; 188 if (preg_match("~$this->_specialAttributesRegex~", $text, $matches)) { [all …]
|
/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/mediatooltip/ |
H A D | action.php | 149 function ($matches) { 159 $matches[0] = 'title="'; 180 $matches[0] .= '" data-size ="' . $this->format_attribute("$w X $h pixels"); 210 $matches[0] .= " $BR" . 'Artist: ' . trim($artist); 211 if(!empty($_title) && strpos($matches[0],$_title) === false) 212 $matches[0] .= ", " . $_title; 215 $matches[0] .= $this->getLang('creator') . $artist; 218 $matches[0] .= trim($_title); 229 $matches[0] .= '" data-rel ="' . $this->format_attribute($camera); 244 $matches[0] = preg_replace("/data-/","\n data-",$matches[0]); [all …]
|
/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 …]
|
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/ |
H A D | Test.php | 188 $matches = []; 299 $class = $matches[1]; 304 if (isset($matches[2])) { 305 $message = trim($matches[2]); 318 if (isset($matches[3])) { 319 $code = $matches[3]; 421 foreach ($matches[1] as $match) { 481 $offset = strlen($matches[0][0]) + $matches[0][1]; 573 'value' => $matches['value'] 595 $numMatches = count($matches[0]); [all …]
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | treebuilder.class.php | 39 while (preg_match("@&#(\d+);@",$xmlstring, $matches)) { 40 $xmlstring = preg_replace("@&#".$matches[1].";@",code_to_utf8($matches[1]),$xmlstring); 43 while (preg_match("@&#x(\d+);@i",$xmlstring, $matches)) { 44 … $xmlstring = preg_replace("@&#x".$matches[1].";@i",code_to_utf8(hexdec($matches[1])),$xmlstring);
|
/plugin/freechat/phpfreechat/lib/pear/PHPUnit/GUI/ |
H A D | HTML.php | 208 …atch('/^(.*)expected ' . $serialized . ', actual ' . $serialized . '$/sU', $exception, $matches)) { 210 print_r(unserialize($matches[2])); 211 …$ret['expected'] = htmlspecialchars($matches[1]) . "<pre>" . htmlspecialchars(rtrim(ob_get_content… 216 print_r(unserialize($matches[3])); 217 …$ret['actual'] = htmlspecialchars($matches[1]) . "<pre>" . htmlspecialchars(rtrim(ob_get_contents(… 221 else if (preg_match('/^(.*)expected (.*), actual (.*)$/sU', $exception, $matches)) { 222 … $ret['expected'] = nl2br(str_replace(" ", " ", htmlspecialchars($matches[1] . $matches[2]))); 223 … $ret['actual'] = nl2br(str_replace(" ", " ", htmlspecialchars($matches[1] . $matches[3])));
|
/plugin/dokutexit/ |
H A D | syntax.php | 78 $matches = preg_split('/>/u',$match,2); 79 $matches[0] = trim($matches[0]); 80 if ( trim($matches[0]) == '' ) { 81 $matches[0] = NULL; 83 return array($state,$matches[0], $matches[1],$pos);
|
/plugin/ckgedit/ckeditor/ |
H A D | get_headers.php | 40 if (preg_match('/^=+([^=]+)=+\s*$/',$line,$matches)) { 43 if(isset($headers[$matches[1]])) { 44 $headers[$matches[1]]++; 45 $suffix_anchor = $headers[$matches[1]]; 49 $headers[$matches[1]]=0; 52 $resp .= trim($matches[1]) . $suffix_header . ";;" ; 53 $resp .= cleanID($matches[1]). $suffix_anchor . "@@" ;
|
/plugin/googletrends/ |
H A D | syntax.php | 51 if (preg_match("/hl=([a-z]{2})/", $match[1], $matches)) $data['hl'] = $matches[1]; 52 if (preg_match("/w=([0-9]+)/", $match[1], $matches)) $data['w'] = $matches[1]; 53 if (preg_match("/h=([0-9]+)/", $match[1], $matches)) $data['h'] = $matches[1];
|
/plugin/actickets/ |
H A D | syntax.php | 71 if (preg_match('/'.self::PATTERN_PROJECT_GRP.'/', $match, $matches)) { 72 $this->projectId = $matches[1]; 73 …g_match('/'.$this->getConf('actickets.hash').self::PATTERN_FULLTICKET_GRP.'/', $match, $matches)) { 74 $data['ticketId'] = $matches[1]; 75 $data['projectId'] = $matches[2]; 76 …(preg_match('/'.$this->getConf('actickets.hash').self::PATTERN_TICKET_GRP.'/', $match, $matches)) { 77 $data['ticketId'] = $matches[1];
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ |
H A D | PKCS1.php | 89 case preg_match("#^AES-(128|192|256)-$modes$#", $algo, $matches): 90 $cipher = new AES(self::getEncryptionMode($matches[2])); 91 $cipher->setKeyLength($matches[1]); 93 case preg_match("#^DES-EDE3-$modes$#", $algo, $matches): 94 return new TripleDES(self::getEncryptionMode($matches[1])); 95 case preg_match("#^DES-$modes$#", $algo, $matches): 96 return new DES(self::getEncryptionMode($matches[1])); 150 if (preg_match('#DEK-Info: (.+),(.+)#', $key, $matches)) { 151 $iv = Hex::decode(trim($matches[2])); 158 $crypto = self::getEncryptionObject($matches[1]);
|
/plugin/numberof/ |
H A D | syntax.php | 25 $matches=explode(">",$match); 26 $matches[1]=str_replace(":","/",$matches[1]); 27 switch ($matches[0]) { 29 … search($list,$conf['datadir'].$matches[1],array($this,'_search_count'),array('all'=>false),''); 34 … search($list,$conf['mediadir'].$matches[1],array($this,'_search_count'),array('all'=>true));
|
/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/openid/Auth/Yadis/ |
H A D | ParseHTML.php | 78 $matches = []; 82 if (preg_match($double, $str, $matches)) { 83 return $matches[1]; 84 } else if (preg_match($single, $str, $matches)) { 85 return $matches[1]; 151 $matches = []; 152 preg_match($pat, $html_string, $matches, PREG_OFFSET_CAPTURE); 153 if($matches) { 154 $key_tags_pos[] = $matches[0][1];
|