| /plugin/ckgedit/action/ |
| D | edit.php | 57 preg_match('/_\w+_/', $_COOKIE['FCKG_USE'], $matches); 58 if($matches[0] == '_false_') { 231 function($matches) { 232 … $matches[0] = preg_replace("#{{rss>http(s?):\/\/#", "{ { rss>$1Feed:", $matches[0]); 233 $matches[0] = str_replace("~", "~ ", $matches[0]); 234 return $matches[0]; 264 function ($matches) { 265 $matches[0] = str_replace('%%', 'DBLPERCENT',$matches[0]); 266 $matches[0] = str_replace('\\ ', 'DBLBACKSPLASH',$matches[0]); 267 $matches[0] = str_replace('|', 'NWPIPECHARACTER',$matches[0]); [all …]
|
| D | save.php | 50 function($matches) { 51 if(!preg_match("/image/",$matches[1])) { 54 return $matches[0]; 60 function($matches) { 61 list($ext,$base) = explode(";",$matches[2]); 63 …(function_exists("imagecreatefromstring") && !imagecreatefromstring (base64_decode($matches[3]))) { 80 $fn = md5($matches[3]) . ".$ext"; 90 @file_put_contents($path, base64_decode($matches[3])); 94 …me(), $id, DOKU_CHANGE_TYPE_CREATE, $lang["created"],"", null, strlen(base64_decode($matches[3]))); 101 if($matches[1]) $left .= $matches[1]; [all …]
|
| /plugin/davcard/vendor/sabre/vobject/lib/ |
| D | DateTimeParser.php | 37 …('/^([0-9]{4})([0-1][0-9])([0-3][0-9])T([0-2][0-9])([0-5][0-9])([0-5][0-9])([Z]?)$/',$dt,$matches); 43 if ($matches[7]==='Z' || is_null($tz)) { 46 …$date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':'… 64 $result = preg_match('/^([0-9]{4})([0-1][0-9])([0-3][0-9])$/',$date,$matches); 74 $date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3], $tz); 91 …?P<day>\d+)D)?(T((?P<hour>\d+)H)?((?P<minute>\d+)M)?((?P<second>\d+)S)?)?$/', $duration, $matches); 98 if ($matches['plusminus']==='-') { 111 $matches[$part] = isset($matches[$part])&&$matches[$part]?(int)$matches[$part]:0; 118 $days = $matches['day']; 119 if ($matches['week']) { [all …]
|
| /plugin/webdavclient/vendor/sabre/vobject/lib/ |
| D | DateTimeParser.php | 37 …('/^([0-9]{4})([0-1][0-9])([0-3][0-9])T([0-2][0-9])([0-5][0-9])([0-5][0-9])([Z]?)$/',$dt,$matches); 43 if ($matches[7]==='Z' || is_null($tz)) { 46 …$date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':'… 64 $result = preg_match('/^([0-9]{4})([0-1][0-9])([0-3][0-9])$/',$date,$matches); 74 $date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3], $tz); 91 …?P<day>\d+)D)?(T((?P<hour>\d+)H)?((?P<minute>\d+)M)?((?P<second>\d+)S)?)?$/', $duration, $matches); 98 if ($matches['plusminus']==='-') { 111 $matches[$part] = isset($matches[$part])&&$matches[$part]?(int)$matches[$part]:0; 118 $days = $matches['day']; 119 if ($matches['week']) { [all …]
|
| /plugin/davcal/vendor/sabre/vobject/lib/ |
| H A D | DateTimeParser.php | 37 …('/^([0-9]{4})([0-1][0-9])([0-3][0-9])T([0-2][0-9])([0-5][0-9])([0-5][0-9])([Z]?)$/',$dt,$matches); 43 if ($matches[7]==='Z' || is_null($tz)) { 46 …$date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':'… 64 $result = preg_match('/^([0-9]{4})([0-1][0-9])([0-3][0-9])$/',$date,$matches); 74 $date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3], $tz); 91 …?P<day>\d+)D)?(T((?P<hour>\d+)H)?((?P<minute>\d+)M)?((?P<second>\d+)S)?)?$/', $duration, $matches); 98 if ($matches['plusminus']==='-') { 111 $matches[$part] = isset($matches[$part])&&$matches[$part]?(int)$matches[$part]:0; 118 $days = $matches['day']; 119 if ($matches['week']) { [all …]
|
| /plugin/webdav/vendor/sabre/vobject/lib/ |
| D | DateTimeParser.php | 37 …/^([0-9]{4})([0-1][0-9])([0-3][0-9])T([0-2][0-9])([0-5][0-9])([0-5][0-9])([Z]?)$/', $dt, $matches); 43 if ('Z' === $matches[7] || is_null($tz)) { 48 …$date = new DateTimeImmutable($matches[1].'-'.$matches[2].'-'.$matches[3].' '.$matches[4].':'.$mat… 67 $result = preg_match('/^([0-9]{4})([0-1][0-9])([0-3][0-9])$/', $date, $matches); 78 $date = new DateTimeImmutable($matches[1].'-'.$matches[2].'-'.$matches[3], $tz); 99 …)?((?<day>\d+)D)?(T((?<hour>\d+)H)?((?<minute>\d+)M)?((?<second>\d+)S)?)?$/', $duration, $matches); 107 if ('-' === $matches['plusminus']) { 120 … $matches[$part] = isset($matches[$part]) && $matches[$part] ? (int) $matches[$part] : 0; 126 $days = $matches['day']; 128 if ($matches['week']) { [all …]
|
| /plugin/icalevents/vendor/sabre/vobject/lib/ |
| D | DateTimeParser.php | 37 …/^([0-9]{4})([0-1][0-9])([0-3][0-9])T([0-2][0-9])([0-5][0-9])([0-5][0-9])([Z]?)$/', $dt, $matches); 43 if ($matches[7] === 'Z' || is_null($tz)) { 48 …new DateTimeImmutable($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':… 68 $result = preg_match('/^([0-9]{4})([0-1][0-9])([0-3][0-9])$/', $date, $matches); 79 $date = new DateTimeImmutable($matches[1] . '-' . $matches[2] . '-' . $matches[3], $tz); 101 …)?((?<day>\d+)D)?(T((?<hour>\d+)H)?((?<minute>\d+)M)?((?<second>\d+)S)?)?$/', $duration, $matches); 110 if ($matches['plusminus'] === '-') { 123 … $matches[$part] = isset($matches[$part]) && $matches[$part] ? (int)$matches[$part] : 0; 129 $days = $matches['day']; 131 if ($matches['week']) { [all …]
|
| /plugin/html2pdf/html2pdf/html2ps/ |
| D | css.parse.inc.php | 105 if (preg_match("/^(\S.*)\s*>\s*([^\s]+)$/", $raw_selector, $matches)) { 107 parse_css_selector($matches[2]), 109 parse_css_selector($matches[1])))); 113 if (preg_match("/^(\S.*)\s+([^\s]+)$/", $raw_selector, $matches)) { 115 parse_css_selector($matches[2]), 117 parse_css_selector($matches[1])))); 120 if (preg_match("/^(.+)\[(".SELECTOR_ATTR_REGEXP.")\]$/", $raw_selector, $matches)) { 122 parse_css_selector($matches[1]), 123 array(SELECTOR_ATTR, $matches[2]))); 126 if (preg_match("/^(.+)\[".SELECTOR_ATTR_VALUE_REGEXP."\]$/", $raw_selector, $matches)) { [all …]
|
| D | xhtml.utils.inc.php | 110 …match("#(.*?)(<([a-z\d]+)[^>]*/>|<([a-z\d]+)[^>]*(?<!/)>|</([a-z\d]+)[^>]*>)#is",$html,$matches)) { 111 $result .= $matches[1]; 112 $html = substr($html, strlen($matches[0])); 115 if (isset($matches[5])) { 116 $tag = $matches[5]; 122 $result .= $matches[2]; 160 } elseif (isset($matches[4])) { 162 $tag = $matches[4]; 164 $result .= $matches[2]; 167 $result .= $matches[2]; [all …]
|
| D | css.colors.inc.php | 170 if (preg_match("/rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/",$decl,$matches)) { 171 $r = min(255,max(0,$matches[1])); 172 $g = min(255,max(0,$matches[2])); 173 $b = min(255,max(0,$matches[3])); 178 if (preg_match("/rgb\(\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)/",$decl,$matches)) { 179 $r = min(255,max(0,$matches[1]*255/100)); 180 $g = min(255,max(0,$matches[2]*255/100)); 181 $b = min(255,max(0,$matches[3]*255/100)); 194 if (preg_match("/^#([[:xdigit:]]{2})([[:xdigit:]]{2})([[:xdigit:]]{2})$/",$decl,$matches)) { 195 $arrr = unpack("C",pack("H2",$matches[1])); [all …]
|
| /plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ |
| D | EntityParser.php | 110 * @param array $matches PCRE matches array, with 0 the entire match, and 116 protected function entityCallback($matches) argument 118 $entity = $matches[0]; 119 $hex_part = @$matches[1]; 120 $dec_part = @$matches[2]; 121 $named_part = empty($matches[3]) ? (empty($matches[4]) ? "" : $matches[4]) : $matches[3]; 137 if (!empty($matches[3])) { 205 * @param array $matches PCRE matches array, with 0 the entire match, and 211 protected function nonSpecialEntityCallback($matches) argument 214 $entity = $matches[0]; [all …]
|
| D | URIParser.php | 41 $matches = array(); 42 $result = preg_match($r_URI, $uri, $matches); 47 $scheme = !empty($matches[1]) ? $matches[2] : null; 48 $authority = !empty($matches[3]) ? $matches[4] : null; 49 $path = $matches[5]; // always present, can be empty 50 $query = !empty($matches[6]) ? $matches[7] : null; 51 $fragment = !empty($matches[8]) ? $matches[9] : null; 56 $matches = array(); 57 preg_match($r_authority, $authority, $matches); 58 $userinfo = !empty($matches[1]) ? $matches[2] : null; [all …]
|
| /plugin/annotate/ |
| D | anno.php | 77 if(preg_match("/<top>([\w\:]+)\<\/top\>/m",$match,$matches)) { 78 $id = $matches[1]; 84 if(preg_match("/<bottom>([\w\:]+)\<\/bottom\>/m",$match,$matches)) { 85 $id = $matches[1]; 124 if(preg_match('/^\{\{([\w\:]+)\}\}$/',$xhtml,$matches)) { 125 $html = p_wiki_xhtml($matches[1]); 150 function($matches){ 151 if($matches[1] == '/'){ 153 if($matches[2] <= 3){ 158 if($matches[2] <= 4){ [all …]
|
| /plugin/avtaskbox/ |
| D | syntax.php | 92 preg_match('/^Title:(.*?)$/isxm', $match, $matches); 93 … $title = (!empty($matches[1]) && strlen(trim($matches[1]))>0) ? trim($matches[1]) : ' '; 95 preg_match('/^Priority:(.*?)$/isxm', $match, $matches); 96 …$priority =(!empty($matches[1]) && strlen(trim($matches[1]))>0) ? 'Priority: '.trim($matches[1]) :… 98 preg_match('/^Estimate:(.*?)$/isxm', $match, $matches); 99 …$estimate = (!empty($matches[1]) && strlen(trim($matches[1]))>0) ? ' of '.trim($matches[1]) : '&nb… 101 preg_match('/^Assigned:(.*?)$/isxm', $match, $matches); 102 …$assigned = (!empty($matches[1]) && strlen(trim($matches[1]))>0) ? '('.trim($matches[1]).')' : '&n… 104 preg_match('/^Progress:(.*?)$/isxm', $match, $matches); 105 …$progress = (!empty($matches[1]) && strlen(trim($matches[1]))>0) ? intval(preg_replace('[^0-9]', '… [all …]
|
| /plugin/iframeinterwiki/ |
| H A D | syntax.php | 53 $matches=array(); 54 if(preg_match('/\[?(\d+(em|%|pt|px)?)\s*([,xX]\s*(\d+(em|%|pt|px)?))?\]?/',$param,$matches)){ 55 if(array_key_exists(4, $matches) && $matches[4]){ 57 $opts['width'] = $matches[1]; 58 if(!$matches[2]) $opts['width'] .= 'px'; //default to pixel when no unit was set 59 $opts['height'] = $matches[4]; 60 …if(!isset($matches[5]) || !$matches[5]) $opts['height'] .= 'px'; //default to pixel when no unit w… 61 }elseif(array_key_exists(2, $matches) && $matches[2]){ 63 $opts['height'] = $matches[1]; 64 if(!$matches[2]) $opts['height'] .= 'px'; //default to pixel when no unit was set [all …]
|
| /plugin/ckgdoku/action/ |
| D | save.php | 179 function($matches){ 182 … if(preg_match("/\[\[http/",$matches[0])) return $matches[0]; //not an internal link 183 if(preg_match("#\[\[.*?\|\{\{.*?\}\}\]\]#", $matches[0],$matches_1)) { 185 return $matches[0]; 187 $link = explode('?',$matches[1]); 190 … return preg_replace("#$link_id#",$current_id, $matches[0]); 193 $link = explode('?',$matches[1]); 218 function($matches) { 220 $link = explode('?',$matches[2]); 225 return '{{' .$matches[1] . $rel . $matches[3] .'}}'; [all …]
|
| /plugin/findologicxmlexport/vendor/hoa/compiler/Llk/ |
| D | Llk.php | 278 if (0 !== preg_match('#^%pragma\h+([^\h]+)\h+(.*)$#u', $line, $matches)) { 279 switch ($matches[2]) { 291 if (true === ctype_digit($matches[2])) { 292 $pragmaValue = intval($matches[2]); 294 $pragmaValue = $matches[2]; 298 $pragmas[$matches[1]] = $pragmaValue; 299 … } elseif (0 !== preg_match('#^%skip\h+(?:([^:]+):)?([^\h]+)\h+(.*)$#u', $line, $matches)) { 300 if (empty($matches[1])) { 301 $matches[1] = 'default'; 304 if (!isset($tokens[$matches[1]])) { [all …]
|
| /plugin/markdownextra/ |
| D | markdown.php | 393 function _stripLinkDefinitions_callback($matches) { argument 394 $link_id = strtolower($matches[1]); 395 $url = $matches[2] == '' ? $matches[3] : $matches[2]; 397 $this->titles[$link_id] =& $matches[4]; 541 function _hashHTMLBlocks_callback($matches) { argument 542 $text = $matches[1]; 682 function _doHardBreaks_callback($matches) { argument 757 function _doAnchors_reference_callback($matches) { argument 758 $whole_match = $matches[1]; 759 $link_text = $matches[2]; [all …]
|
| /plugin/aichat/vendor/erusev/parsedown/ |
| D | Parsedown.php | 423 if (preg_match('/^['.$Line['text'][0].']{3,}[ ]*([^`]+)?[ ]*$/', $Line['text'], $matches)) 430 if (isset($matches[1])) 444 $language = substr($matches[1], 0, strcspn($matches[1], " \t\n\f\r")); 543 if (preg_match('/^('.$pattern.'[ ]+)(.*)/', $Line['text'], $matches)) 556 $listStart = stristr($matches[0], '.', true); 568 $matches[2], 580 … $Line['indent'] and preg_match('/^'.$Block['pattern'].'(?:[ ]+(.*)|$)/', $Line['text'], $matches)) 593 $text = isset($matches[1]) ? $matches[1] : ''; 657 if (preg_match('/^>[ ]?(.*)/', $Line['text'], $matches)) 663 'text' => (array) $matches[1], [all …]
|
| /plugin/interwikipaste/ |
| D | script.js | 67 const matches = idMatch.exec(href); 68 if (matches[1]) { 69 return normalizeId(matches[1]); 74 const matches = path.match(idMatch); 75 if (matches[1]) { 76 return normalizeId(matches[1]); 84 const matches = mediaIdMatch.exec(path); 85 if (matches[1]) { 86 return normalizeId(matches[1]); 92 const matches = mediaIdMatch.exec(href); [all …]
|
| /plugin/nodisp/ |
| D | action.php | 28 function($matches) { 31 if($acl < $matches[1]) { 34 return $matches[0]; 40 function($matches) { 43 if($acl < $matches[1]) { 46 return $matches[0]; 52 function($matches) { 55 if($acl < $this->groupLevel($matches[1])) { 58 return $matches[0]; 64 function($matches) { [all …]
|
| /plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Runner/Filter/ |
| D | Test.php | 46 if (preg_match('/^(.*?)#(\d+)(?:-(\d+))?$/', $filter, $matches)) { 47 if (isset($matches[3]) && $matches[2] < $matches[3]) { 50 $matches[1] 53 $this->filterMin = $matches[2]; 54 $this->filterMax = $matches[3]; 58 $matches[1], 59 $matches[2] 65 elseif (preg_match('/^(.*?)@(.+)$/', $filter, $matches)) { 68 $matches[1], 69 $matches[2] [all …]
|
| /plugin/elasticsearch/vendor/nyholm/dsn/src/ |
| D | DsnParser.php | 37 if (1 === preg_match(self::FUNCTION_REGEX, $dsn, $matches)) { 38 $functionName = $matches[1]; 39 $arguments = $matches[2]; 40 parse_str($matches[3] ?? '', $parameters); 51 if (preg_match_all(self::ARGUMENTS_REGEX, $arguments, $matches)) { 52 $arguments = $matches[1]; 66 if (1 === preg_match(self::FUNCTION_REGEX, $dsn, $matches)) { 67 if ('dsn' === $matches[1]) { 68 return self::parse($matches[2]); 116 …LIMS.'%]+:[0-9]+(?:[/?].*)?)|(?<scheme>[a-zA-Z0-9\+-\.]+):(?://)?(?<dsn>.*))$#', $dsn, $matches)) { [all …]
|
| /plugin/webdav/vendor/sabre/uri/lib/ |
| D | functions.php | 190 function($matches) { 191 return rawurlencode($matches[0]); 281 $matches = []; 282 if (preg_match('/^(?:(?:(.*)(?:\/+))?([^\/]+))(?:\/?)$/u', $path, $matches)) { 283 return [$matches[1], $matches[2]]; 311 function($matches) { 312 return rawurlencode($matches[0]); 327 if (preg_match('% ^([A-Za-z][A-Za-z0-9+-\.]+): %x', $uri, $matches)) { 329 $result['scheme'] = $matches[1]; 360 if (!preg_match($regex, $uri, $matches)) { [all …]
|
| /plugin/icalevents/vendor/sabre/uri/lib/ |
| D | functions.php | 190 function($matches) { 191 return rawurlencode($matches[0]); 281 $matches = []; 282 if (preg_match('/^(?:(?:(.*)(?:\/+))?([^\/]+))(?:\/?)$/u', $path, $matches)) { 283 return [$matches[1], $matches[2]]; 311 function($matches) { 312 return rawurlencode($matches[0]); 327 if (preg_match('% ^([A-Za-z][A-Za-z0-9+-\.]+): %x', $uri, $matches)) { 329 $result['scheme'] = $matches[1]; 360 if (!preg_match($regex, $uri, $matches)) { [all …]
|