/plugin/xtern/ |
H A D | action.php | 138 …("|(?<!__LINK:)(\[\[)?(" . preg_quote($url) . "(\|)*([^\]]+)*(\]\])?)[\s]*|ms", function ($matches) 140 $test = preg_split("/[\s]+/", $matches[2]); 145 … if (strpos($piece, $this->current) !== false && strpos($matches[0], '-LINK:' . $piece) === false) 147 if ($matches[1] == '[[') 150 …$matches[0] = preg_replace("#\[\[($link.*?)\]\]#ms", "__ BROKEN-LINK:[[$1]] LINK-BROKEN __", $matc… 154 … $matches[0] = str_replace($piece, "__ BROKEN-LINK:" . $piece . " LINK-BROKEN __", $matches[0]); 160 return $matches[0];
|
/plugin/barcodes/lib/ |
H A D | Color.php | 33 if (preg_match('/^#?([0-9a-f]{6})/i', $color, $matches)) { 34 $this->red = hexdec(substr($matches[1], 0, 2)); 35 $this->green = hexdec(substr($matches[1], 2, 2)); 36 $this->blue = hexdec(substr($matches[1], 4, 2));
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | fetcher.url.class.php | 187 if (preg_match('/\s(\d+)\s/',$res,$matches)) { 188 $result = $matches[1]; 393 if (preg_match('/(.*?)\r\n\r\n(.*)/s',$res,$matches)) { 394 $this->headers = $matches[1]; 410 preg_match('/Location: ([\S]+)/i',$res,$matches); 411 return $this->fetch($this->_fix_location($matches[1])); 415 preg_match('/Location: ([\S]+)/i',$res,$matches); 416 error_log('Redirected to:'.$matches[1]); 418 return $this->fetch($this->_fix_location($matches[1])); 429 $this->headers = $matches[1]; [all …]
|
H A D | fetched_data.url.class.php | 16 if (preg_match("/Content-Type: .*charset=\s*([^\s;]+)/i", $header, $matches)) { 17 $encoding = strtolower($matches[1]); 39 if (preg_match("/Content-Type: (.*)/", $header, $matches)) { 40 return $matches[1];
|
H A D | css.size.inc.php | 20 if (preg_match('/^(\w+)(?:\s+(portrait|landscape))?$/', $value, $matches)) { 21 $name = $matches[1]; 22 $landscape = isset($matches[2]) && $matches[2] == 'landscape';
|
/plugin/toctweak/ |
H A D | helper.php | 47 if (preg_match('/^(?:(\d+)-(\d+)|^(\-?\d+))$/', $token, $matches)) { 48 if (count($matches) == 4) { 49 if (strpos($matches[3], '-') !== false) { 50 $maxLv = abs($matches[3]); 52 $topLv = $matches[3]; 55 $topLv = $matches[1]; 56 $maxLv = $matches[2];
|
/plugin/imapmarkers/syntax/ |
H A D | map.php | 103 $matches = array(); 112 switch (count($matches)) { 114 $link = $matches[1]; 115 $loc_id = $matches[2]; 116 $text = $matches[3]; 117 $coordinates = $matches[4]; 121 $link = $matches[1]; 123 $text = $matches[2]; 124 $coordinates = $matches[3]; 170 if (count($matches) == 2) { [all …]
|
/plugin/davcard/vendor/sabre/vobject/lib/ |
H A D | Component.php | 376 $matches = $this->select($name); 377 if (count($matches)===0) { 380 $firstMatch = current($matches); 382 $firstMatch->setIterator(new ElementList(array_values($matches))); 396 $matches = $this->select($name); 397 return count($matches)>0; 416 $matches = $this->select($name); 417 $overWrite = count($matches)?key($matches):null; 446 $matches = $this->select($name); 447 foreach($matches as $k=>$child) {
|
/plugin/webdavclient/vendor/sabre/vobject/lib/ |
H A D | Component.php | 376 $matches = $this->select($name); 377 if (count($matches)===0) { 380 $firstMatch = current($matches); 382 $firstMatch->setIterator(new ElementList(array_values($matches))); 396 $matches = $this->select($name); 397 return count($matches)>0; 416 $matches = $this->select($name); 417 $overWrite = count($matches)?key($matches):null; 446 $matches = $this->select($name); 447 foreach($matches as $k=>$child) {
|
/plugin/davcal/vendor/sabre/vobject/lib/ |
H A D | Component.php | 376 $matches = $this->select($name); 377 if (count($matches)===0) { 380 $firstMatch = current($matches); 382 $firstMatch->setIterator(new ElementList(array_values($matches))); 396 $matches = $this->select($name); 397 return count($matches)>0; 416 $matches = $this->select($name); 417 $overWrite = count($matches)?key($matches):null; 446 $matches = $this->select($name); 447 foreach($matches as $k=>$child) {
|
/plugin/webdav/vendor/sabre/dav/lib/DAV/PartialUpdate/ |
H A D | Plugin.php | 204 …ch('/^(append)|(?:bytes=([0-9]+)-([0-9]*))|(?:bytes=(-[0-9]+))$/i', $range, $matches)) return null; 206 if ($matches[1] === 'append') { 208 } elseif (strlen($matches[2]) > 0) { 209 return [self::RANGE_START, $matches[2], $matches[3] ?: null]; 211 return [self::RANGE_END, $matches[4]];
|
/plugin/iptrust2/ |
H A D | action.php | 111 $matches = preg_grep('/^'.preg_quote($id,'/').'\s+/',$AUTH_ACL); 112 if(count($matches)){ 113 foreach($matches as $match){ 129 $matches = preg_grep('/^'.$path.'\s+/',$AUTH_ACL); 130 if(count($matches)){ 131 foreach($matches as $match){
|
/plugin/davcal/vendor/sabre/dav/lib/DAV/PartialUpdate/ |
H A D | Plugin.php | 204 …ch('/^(append)|(?:bytes=([0-9]+)-([0-9]*))|(?:bytes=(-[0-9]+))$/i', $range, $matches)) return null; 206 if ($matches[1] === 'append') { 208 } elseif (strlen($matches[2]) > 0) { 209 return [self::RANGE_START, $matches[2], $matches[3] ?: null]; 211 return [self::RANGE_END, $matches[4]];
|
/plugin/ifauthex/ |
H A D | syntax.php | 97 $matches = null; 98 preg_match('/^<ifauth\b(.*?)>$/', $match, $matches); 99 if (is_array($matches) && count($matches) > 0) { 104 return array($state, $matches[count($matches) - 1]);
|
/plugin/combo/ComboStrap/ |
H A D | Template.php | 72 $matches = []; 73 preg_match('/' . self::LONG_VARIABLE_NAME_CAPTURE_EXPRESSION . '/im', $part, $matches); 74 $variable = $matches[1]; 118 $result = preg_match_all($pattern, $this->_string, $matches); 121 $firstExpressionMatches = $matches[1]; 122 $secondExpressionMatches = $matches[2];
|
/plugin/phpipam/ |
H A D | syntax.php | 185 $opts['net'] = $matches[2] . $matches[4] . '/' .$matches[5] ; 189 $opts['vid'] = $matches[2] ; 223 $opts['sid'] = $matches[2] ; 227 $opts['did'] = $matches[2] ; 231 $opts['eid'] = $matches[2] ; 235 $opts['tid'] = $matches[2] ; 239 $opts['lid'] = $matches[2] ; 243 $opts['loc'] = $matches[2] ; 256 $opts['sid'] = $matches[1] ; 260 $opts['d2s'] = $matches[2] ; [all …]
|
/plugin/docimporter/ |
H A D | ImportUtils.php | 12 function convert_footnote($matches) { argument 14 $content = $matches[1]; 147 preg_match_all("/".$pattern."/", $html, $matches, PREG_OFFSET_CAPTURE); 153 $count = count_from_pos($matches, $clean_matches, $start); 179 function count_from_pos($matches, $clean_matches, $pos){ argument 186 foreach ($matches[0] as $match) { 218 preg_match_all("/".preg_quote($sentence)."/", $myWikiContent, $matches, PREG_OFFSET_CAPTURE); 223 $start = $matches[0][$count + $occurences[$sentence]][1];
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/PHP/ |
H A D | SyntaxSniff.php | 84 $matches = array(); 85 if (preg_match('/^.*error:(.*) in .* on line ([0-9]+)/m', trim($output), $matches) === 1) { 86 $error = trim($matches[1]); 87 $line = (int) $matches[2];
|
/plugin/findologicxmlexport/vendor/hoa/compiler/Llk/ |
H A D | Lexer.php | 211 0 !== preg_match('#^__shift__(?:\s*\*\s*(\d+))?$#', $nextState, $matches)) { 212 $i = isset($matches[1]) ? intval($matches[1]) : 1; 279 $matches, 288 if ('' === $matches[0]) { 299 'value' => $matches[0], 300 'length' => mb_strlen($matches[0])
|
/plugin/authgooglesheets/vendor/psr/log/Psr/Log/Test/ |
H A D | TestLogger.php | 131 …h('/(.*)(Debug|Info|Notice|Warning|Error|Critical|Alert|Emergency)(.*)/', $method, $matches) > 0) { 132 … $genericMethod = $matches[1] . ('Records' !== $matches[3] ? 'Record' : '') . $matches[3]; 133 $level = strtolower($matches[2]);
|
/plugin/elasticsearch/vendor/psr/log/Psr/Log/Test/ |
H A D | TestLogger.php | 131 if (preg_match('/(.*)(Debug|Info|Notice|Warning|Error|Critical|Alert|Emergency)(.*)/', $method, $matches) > 0) { 132 $genericMethod = $matches[1] . ('Records' !== $matches[3] ? 'Record' : '') . $matches[3]; 133 $level = strtolower($matches[2]);
|
/plugin/dw2pdf/vendor/psr/log/Psr/Log/Test/ |
H A D | TestLogger.php | 131 if (preg_match('/(.*)(Debug|Info|Notice|Warning|Error|Critical|Alert|Emergency)(.*)/', $method, $matches) > 0) { 132 $genericMethod = $matches[1] . ('Records' !== $matches[3] ? 'Record' : '') . $matches[3]; 133 $level = strtolower($matches[2]);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Debug/ |
H A D | JSHintSniff.php | 81 $matches = array(); 82 $numMatches = preg_match('/^(.+)\(.+:([0-9]+).*:[0-9]+\)$/', $finding, $matches); 87 $line = (int) $matches[2]; 88 $message = 'jshint says: '.trim($matches[1]);
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Debug/ |
H A D | JSLintSniff.php | 79 $matches = array(); 80 $numMatches = preg_match('/Lint at line ([0-9]+).*:(.*)$/', $finding, $matches); 85 $line = (int) $matches[1]; 86 $message = 'jslint says: '.trim($matches[2]);
|
/plugin/pubmed2020/helper/ |
H A D | pmid.php | 131 public function replacementValueCallback($matches) { argument 140 if (!isset($matches[2])) { 143 $attr = $matches[2]; 155 return $matches[0];
|