Home
last modified time | relevance | path

Searched refs:matches (Results 1 – 25 of 35) sorted by relevance

12

/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Element/
H A DFeedDate.php33 $matches
49 …$this->unix = mktime($matches[4], $matches[5], $matches[6], $months[$matches[2]], $matches[1], $ma…
50 if (substr($matches[7], 0, 1) == '+' OR substr($matches[7], 0, 1) == '-') {
51 … $tzOffset = (((int)substr($matches[7], 0, 3) * 60) + (int)substr($matches[7], -2)) * 60;
53 if (strlen($matches[7]) == 1) {
55 $ord = ord($matches[7]);
64 switch ($matches[7]) {
75 …$this->unix = mktime($matches[4], $matches[5], $matches[6], $matches[2], $matches[3], $matches[1]);
76 if (substr($matches[7], 0, 1) == '+' OR substr($matches[7], 0, 1) == '-') {
77 … $tzOffset = (((int)substr($matches[7], 0, 3) * 60) + (int)substr($matches[7], -2)) * 60;
[all …]
/dokuwiki/lib/plugins/config/core/
H A DConfigParser.php41 $matches = array();
42 preg_match_all($pattern, $contents, $matches, PREG_SET_ORDER);
44 for($i = 0; $i < count($matches); $i++) {
45 $value = $matches[$i][2];
48 $key = preg_replace('/.\]\[./', $this->keymarker, $matches[$i][1]);
/dokuwiki/inc/Parsing/Lexer/
H A DParallelRegex.php74 if (! preg_match($this->getCompoundedRegex(), $subject, $matches)) {
79 $match = $matches[0];
80 $size = count($matches);
83 if ($matches[$i] && isset($this->labels[$i - 1])) {
105 if (! preg_match($this->getCompoundedRegex(), $subject, $matches)) {
128 $idx = count($matches)-2;
130 $split = array($pre, $matches[0], $post);
/dokuwiki/lib/plugins/extension/helper/
H A Drepository.php171 if (preg_match_all('/(^|\s)(tag:([\S]+))/', $q, $matches, PREG_SET_ORDER)) {
172 foreach ($matches as $m) {
178 if (preg_match_all('/(^|\s)(authorid:([\S]+))/', $q, $matches, PREG_SET_ORDER)) {
179 foreach ($matches as $m) {
185 if (preg_match_all('/(^|\s)(ext:([\S]+))/', $q, $matches, PREG_SET_ORDER)) {
186 foreach ($matches as $m) {
192 if (preg_match_all('/(^|\s)(type:([\S]+))/', $q, $matches, PREG_SET_ORDER)) {
193 foreach ($matches as $m) {
/dokuwiki/inc/Utf8/
H A DClean.php127 while (preg_match('/' . $UTF8_BAD . '/S', $str, $matches)) {
128 if (!isset($matches[2])) {
129 echo $matches[0];
133 $str = substr($str, strlen($matches[0]));
H A DPhpString.php317 preg_match('/^(.{1})(.*)$/us', $str, $matches);
318 return self::strtoupper($matches[1]) . $matches[2];
341 function ($matches) {
342 $leadingws = $matches[2];
343 $ucfirst = self::strtoupper($matches[3]);
344 $ucword = self::substr_replace(ltrim($matches[0]), $ucfirst, 0, 1);
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingEmail.php42 if(preg_match('#(.*?)<(.*?)>#', $mail, $matches)) {
43 $addr = $matches[2];
/dokuwiki/inc/Parsing/Handler/
H A DQuote.php82 preg_match('/>{1,}/', $marker, $matches);
83 $quoteLength = strlen($matches[0]);
/dokuwiki/inc/
H A Dmail.php164 function mail_quotedprintable_encode_callback($matches){ argument
165 return sprintf( "=%02X", ord ( $matches[0] ) ) ;
H A DMailer.class.php119 * @param array $matches
122 protected function autoEmbedCallBack($matches) { argument
127 $media = cleanID($matches[1]);
130 if(!file_exists($file)) return $matches[0]; //bad reference, keep as is
364 …$count = preg_match_all('/\s*(?:("[^"]*"[^,]+),*)|([^,]+)\s*,*/', $addresses, $matches, PREG_SET_O…
366 if ($count !== false && is_array($matches)) {
367 foreach ($matches as $match) {
378 if(preg_match('#(.*?)<(.*?)>#', $part, $matches)) {
379 $text = trim($matches[1]);
380 $addr = $matches[2];
H A Dfulltext.php695 if (preg_match('/^(-?)"(.+)"$/u', $term, $matches)) {
697 $not = $matches[1] ? 'NOT' : '';
698 $parsed = $not.ft_termParser($Indexer, $matches[2], false, true);
737 } elseif (preg_match('/^(?:\^|-ns:)(.+)$/u', $token, $matches)) {
739 $parsed .= 'NOT(N+:'.$matches[1].')';
740 } elseif (preg_match('/^(?:@|ns:)(.+)$/u', $token, $matches)) {
742 $parsed .= '(N+:'.$matches[1].')';
743 } elseif (preg_match('/^-(.+)$/', $token, $matches)) {
745 $parsed .= 'NOT('.ft_termParser($Indexer, $matches[1]).')';
H A Dauth.php661 $matches = preg_grep('/^'.preg_quote($id, '/').'[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
662 if(count($matches)) {
663 foreach($matches as $match) {
691 $matches = preg_grep('/^'.preg_quote($path, '/').'[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
692 if(count($matches)) {
693 foreach($matches as $match) {
775 * @param array $matches first complete match, next matching subpatterms
778 function auth_nameencode_callback($matches) { argument
779 return '%'.dechex(ord(substr($matches[1],-1)));
H A Dio.php715 $matches = array();
726 $matches[] = $match;
728 $matches[] = $line;
736 return $matches;
/dokuwiki/lib/exe/
H A Dcss.php629 * @param array $matches
632 function css_comment_cb($matches){ argument
633 if(strlen($matches[2]) > 4) return '';
634 return $matches[0];
642 * @param array $matches
645 function css_onelinecomment_cb($matches) { argument
646 $line = $matches[0];
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Net/
H A DIPv6.php156 if (preg_match_all('/(?:^|:)(?:0(?::|$))+/', $ip_parts[0], $matches, PREG_OFFSET_CAPTURE))
160 foreach ($matches[0] as $match)
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DMisc.php101 …SIMPLEPIE_PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$name>|(\/)?>)/siU", $string, $matches, PREG_SET_ORDER |…
103 for ($i = 0, $total_matches = count($matches); $i < $total_matches; $i++)
106 $return[$i]['full'] = $matches[$i][0][0];
107 $return[$i]['offset'] = $matches[$i][0][1];
108 if (strlen($matches[$i][3][0]) <= 2)
115 $return[$i]['content'] = $matches[$i][4][0];
118matches[$i][2][0]) && preg_match_all('/[\x09\x0A\x0B\x0C\x0D\x20]+([^\x09\x0A\x0B\x0C\x0D\x20\x2F\…
H A DParser.php642 $matches = array();
643 if (preg_match('/<title>(.+)<\/title>/', $check, $matches)) {
644 $feed_title = array(array('data' => htmlspecialchars($matches[1])));
/dokuwiki/inc/parser/
H A Dhandler.php169 …l('/(\w+(?:="[^"]*"))|(\w+(?:=[^\s]*))|(\w+[^=\s\]])(?:\s*)/', $options, $matches, PREG_SET_ORDER);
170 foreach ($matches as $match) {
677 $matches = explode('>',$match,2);
679 preg_match('/\[.*\]/', $matches[0], $options);
681 $matches[0] = str_replace($options[0], '', $matches[0]);
683 $param = preg_split('/\s+/', $matches[0], 2, PREG_SPLIT_NO_EMPTY);
688 array_unshift($param, $matches[1]);
748 preg_match_all('/\d+/',$match,$matches);
749 $this->addCall('multiplyentity', array($matches[0][0], $matches[0][1]), $pos);
/dokuwiki/lib/plugins/authad/adLDAP/classes/
H A DadLDAPUtils.php106 function ($matches) {
107 return "\\".join("", unpack("H2", $matches[1]));
/dokuwiki/vendor/splitbrain/slika/src/
H A DGdAdapter.php58 if (preg_match('@\x12\x01\x03\x00\x01\x00\x00\x00(.)\x00\x00\x00@', $data, $matches)) {
60 $orientation = ord($matches[1]);
61 … } else if (preg_match('@\x01\x12\x00\x03\x00\x00\x00\x01\x00(.)\x00\x00@', $data, $matches)) {
63 $orientation = ord($matches[1]);
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php753 $langname = $matches[1];
803 return stripcslashes($matches[1]);
2209 $matches = array();
2264 $matches[$dk] = array(
2272 $matches[$dk] = array(
3297 * @param array $matches the matches array
3303 …nc($this->language_data['STYLES']['REGEXPS'][$this->_rx_key], $matches[1]) . '"'. $matches[1] . '|…
3311 * @param array $matches the matches array
3322 foreach (array_keys($matches) as $k) {
3330 $replace = $matches[0];
[all …]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/HTTP/
H A DParser.php468 $is_chunked = (bool) preg_match( '/^([0-9a-f]+)[^\r\n]*\r\n/i', $encoded, $matches );
476 $length = hexdec(trim($matches[1]));
485 $chunk_length = strlen($matches[0]);
/dokuwiki/vendor/composer/
H A DInstalledVersions.php193 return $provided->matches($constraint);
/dokuwiki/lib/plugins/authldap/
H A Dauth.php455 preg_match_all("/%{([^}]+)/", $filter, $matches, PREG_PATTERN_ORDER);
457 foreach ($matches[1] as $match) {
523 function ($matches) {
524 return "\\" . join("", unpack("H2", $matches[1]));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH1.php944 preg_match($expect, $this->interactiveBuffer, $matches);
945 $match = isset($matches[0]) ? $matches[0] : '';
1470 * @param array $matches
1474 function _format_log_helper($matches) argument
1476 return $this->log_boundary . str_pad(dechex(ord($matches[0])), 2, '0', STR_PAD_LEFT);

12