Home
last modified time | relevance | path

Searched refs:matches (Results 1 – 25 of 36) 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.php318 preg_match('/^(.{1})(.*)$/us', $str, $matches);
319 return self::strtoupper($matches[1]) . $matches[2];
342 function ($matches) {
343 $leadingws = $matches[2];
344 $ucfirst = self::strtoupper($matches[3]);
345 $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.php121 * @param array $matches
124 protected function autoEmbedCallBack($matches) { argument
129 $media = cleanID($matches[1]);
132 if(!file_exists($file)) return $matches[0]; //bad reference, keep as is
366 …$count = preg_match_all('/\s*(?:("[^"]*"[^,]+),*)|([^,]+)\s*,*/', $addresses, $matches, PREG_SET_O…
368 if ($count !== false && is_array($matches)) {
369 foreach ($matches as $match) {
380 if(preg_match('#(.*?)<(.*?)>#', $part, $matches)) {
381 $text = trim($matches[1]);
382 $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.php72 if(preg_match( '~^Basic ([a-z\d/+]*={0,2})$~i', $header, $matches )) {
73 $userpass = explode(':', base64_decode($matches[1]));
661 $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
[all …]
H A Dio.php715 $matches = array();
726 $matches[] = $match;
728 $matches[] = $line;
736 return $matches;
H A Dcommon.php623 $matches = array();
624 if (preg_match_all('/\b(w|h)=(\d*)\b/',$more,$matches,PREG_SET_ORDER) || $isexternalimage){
626 foreach ($matches as $match){
766 if(count($re) && preg_match('#('.join('|', $re).')#si', $text, $matches)) {
769 $data['matches'] = $matches;
1834 …reg_match('|^Microsoft-IIS/(\d)\.\d$|', trim($INPUT->server->str('SERVER_SOFTWARE')), $matches)) &&
1835 $matches[1] < 6
/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/src/Net/
H A DIPv6.php147 if (preg_match_all('/(?:^|:)(?:0(?::|$))+/', $ip_parts[0], $matches, PREG_OFFSET_CAPTURE)) {
150 foreach ($matches[0] as $match) {
/dokuwiki/inc/parser/
H A Dhandler.php169 …l('/(\w+(?:="[^"]*"))|(\w+(?:=[^\s]*))|(\w+[^=\s\]])(?:\s*)/', $options, $matches, PREG_SET_ORDER);
170 foreach ($matches as $match) {
625 $matches = sexplode('>',$match,2,'');
627 preg_match('/\[.*\]/', $matches[0], $options);
629 $matches[0] = str_replace($options[0], '', $matches[0]);
631 $param = preg_split('/\s+/', $matches[0], 2, PREG_SPLIT_NO_EMPTY);
636 array_unshift($param, $matches[1]);
696 preg_match_all('/\d+/',$match,$matches);
697 $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.php60 if (preg_match('@\x12\x01\x03\x00\x01\x00\x00\x00(.)\x00\x00\x00@', $data, $matches)) {
62 $orientation = ord($matches[1]);
63 … } else if (preg_match('@\x01\x12\x00\x03\x00\x00\x00\x01\x00(.)\x00\x00@', $data, $matches)) {
65 $orientation = ord($matches[1]);
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php107 …implePie::PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$name>|(\/)?>)/siU", $string, $matches, PREG_SET_ORDER |…
108 for ($i = 0, $total_matches = count($matches); $i < $total_matches; $i++) {
110 $return[$i]['full'] = $matches[$i][0][0];
111 $return[$i]['offset'] = $matches[$i][0][1];
112 if (strlen($matches[$i][3][0]) <= 2) {
116 $return[$i]['content'] = $matches[$i][4][0];
119matches[$i][2][0]) && preg_match_all('/[\x09\x0A\x0B\x0C\x0D\x20]+([^\x09\x0A\x0B\x0C\x0D\x20\x2F\…
/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/src/HTTP/
H A DParser.php455 $is_chunked = (bool) preg_match('/^([0-9a-f]+)[^\r\n]*\r\n/i', $encoded, $matches);
462 $length = hexdec(trim($matches[1]));
470 $chunk_length = strlen($matches[0]);
/dokuwiki/lib/plugins/authldap/
H A Dauth.php458 preg_match_all("/%{([^}]+)/", $filter, $matches, PREG_PATTERN_ORDER);
460 foreach ($matches[1] as $match) {
526 function ($matches) {
527 return "\\" . join("", unpack("H2", $matches[1]));
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH1.php960 preg_match($expect, $this->interactiveBuffer, $matches);
961 $match = isset($matches[0]) ? $matches[0] : '';
1486 * @param array $matches
1490 function _format_log_helper($matches) argument
1492 return $this->log_boundary . str_pad(dechex(ord($matches[0])), 2, '0', STR_PAD_LEFT);
/dokuwiki/vendor/composer/
H A DInstalledVersions.php125 return $provided->matches($constraint);

12