Home
last modified time | relevance | path

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

12

/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Element/
H A DFeedDate.php
/dokuwiki/inc/
H A DInfo.php30 if (preg_match('/^(rc)?(\d{4}-\d{2}-\d{2})([a-z]*)/', $version, $matches)) {
31 $return['date'] = $matches[2];
32 if ($matches[1] == 'rc') {
37 if ($matches[3]) {
38 $return['hotfix'] = $matches[3];
H A Dmail.php165 function mail_quotedprintable_encode_callback($matches)
167 return sprintf("=%02X", ord($matches[0])) ;
160 mail_quotedprintable_encode_callback($matches) global() argument
H A DMailer.class.php123 * @param array $matches
126 protected function autoEmbedCallBack($matches)
132 $media = cleanID($matches[1]);
135 if (!file_exists($file)) return $matches[0]; //bad reference, keep as is
382 $count = preg_match_all('/\s*(?:("[^"]*"[^,]+),*)|([^,]+)\s*,*/', $addresses, $matches, PREG_SET_ORDER);
384 if ($count !== false && is_array($matches)) {
385 foreach ($matches as $match) {
396 if (preg_match('#(.*?)<(.*?)>#', $part, $matches)) {
397 $text = trim($matches[1]);
398 $addr = $matches[
119 autoEmbedCallBack($matches) global() argument
[all...]
H A Dfulltext.php245 * By default it only matches the pagename and ignores the
539 // this prevents further matching of this snippet but for possible matches of length
745 if (preg_match('/^(-?)"(.+)"$/u', $term, $matches)) {
747 $not = $matches[1] ? 'NOT' : '';
748 $parsed = $not . ft_termParser($Indexer, $matches[2], false, true);
787 } elseif (preg_match('/^(?:\^|-ns:)(.+)$/u', $token, $matches)) {
789 $parsed .= 'NOT(N+:' . $matches[1] . ')';
790 } elseif (preg_match('/^(?:@|ns:)(.+)$/u', $token, $matches)) {
792 $parsed .= '(N+:' . $matches[1] . ')';
793 } elseif (preg_match('/^-(.+)$/', $token, $matches)) {
[all...]
H A Dauth.php80 if (preg_match('~^Basic ([a-z\d/+]*={0,2})$~i', $header, $matches)) {
81 $userpass = explode(':', base64_decode($matches[1]));
754 $matches = preg_grep('/^' . preg_quote($id, '/') . '[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
755 if (count($matches)) {
756 foreach ($matches as $match) {
784 $matches = preg_grep('/^' . preg_quote($path, '/') . '[ \t]+([^ \t]+)[ \t]+/', $AUTH_ACL);
785 if (count($matches)) {
786 foreach ($matches as $match) {
869 * callback encodes the matches
871 * @param array $matches firs
778 auth_nameencode_callback($matches) global() argument
[all...]
H A Dio.php321 * A regex that matches any part of the line will remove the entire line in this mode.
770 $matches = [];
778 // check if line matches
781 $matches[] = $match;
783 $matches[] = $line;
791 return $matches;
H A Dinfoutils.php113 if (!preg_match("~([[:xdigit:]]+) $headCommit~", $packedRefs, $matches)) {
117 $headCommit = $matches[1];
/dokuwiki/lib/plugins/config/core/
H A DConfigParser.php43 $matches = [];
44 preg_match_all($pattern, $contents, $matches, PREG_SET_ORDER);
45 $counter = count($matches);
48 $value = $matches[$i][2];
51 $key = preg_replace('/.\]\[./', $this->keymarker, $matches[$i][1]);
/dokuwiki/inc/Parsing/Lexer/
H A DParallelRegex.php72 if (! preg_match($this->getCompoundedRegex(), $subject, $matches)) {
77 $match = $matches[0];
78 $size = count($matches);
81 if ($matches[$i] && isset($this->labels[$i - 1])) {
103 if (! preg_match($this->getCompoundedRegex(), $subject, $matches)) {
126 $idx = count($matches) - 2;
128 $split = [$pre, $matches[0], $post];
/dokuwiki/lib/plugins/extension/helper/
H A Drepository.php188 if (preg_match_all('/(^|\s)(tag:([\S]+))/', $q, $matches, PREG_SET_ORDER)) {
189 foreach ($matches as $m) {
195 if (preg_match_all('/(^|\s)(authorid:([\S]+))/', $q, $matches, PREG_SET_ORDER)) {
196 foreach ($matches as $m) {
202 if (preg_match_all('/(^|\s)(ext:([\S]+))/', $q, $matches, PREG_SET_ORDER)) {
203 foreach ($matches as $m) {
209 if (preg_match_all('/(^|\s)(type:([\S]+))/', $q, $matches, PREG_SET_ORDER)) {
210 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.php309 preg_match('/^(.{1})(.*)$/us', $str, $matches);
310 return self::strtoupper($matches[1]) . $matches[2];
326 // Note: [\x0c\x09\x0b\x0a\x0d\x20] matches;
333 function ($matches) {
334 $leadingws = $matches[2];
335 $ucfirst = self::strtoupper($matches[3]);
336 $ucword = self::substr_replace(ltrim($matches[0]), $ucfirst, 0, 1);
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingEmail.php44 if (preg_match('#(.*?)<(.*?)>#', $mail, $matches)) {
45 $addr = $matches[2];
/dokuwiki/inc/Parsing/Handler/
H A DQuote.php82 preg_match('/>{1,}/', $marker, $matches);
83 $quoteLength = strlen($matches[0]);
/dokuwiki/lib/exe/
H A Dcss.php653 * @param array $matches
659 function css_comment_cb($matches)
661 if (strlen($matches[2]) > 4) return '';
662 return $matches[0];
670 * @param array $matches
673 function css_onelinecomment_cb($matches)
675 $line = $matches[0];
632 css_comment_cb($matches) global() argument
645 css_onelinecomment_cb($matches) global() argument
/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.php186 preg_match_all('/(\w+(?:="[^"]*"))|(\w+(?:=[^\s]*))|(\w+[^=\s\]])(?:\s*)/', $options, $matches, PREG_SET_ORDER);
187 foreach ($matches as $match) {
661 $matches = sexplode('>', $match, 2, '');
663 preg_match('/\[.*\]/', $matches[0], $options);
665 $matches[0] = str_replace($options[0], '', $matches[0]);
667 $param = preg_split('/\s+/', $matches[0], 2, PREG_SPLIT_NO_EMPTY);
672 array_unshift($param, $matches[1]);
737 preg_match_all('/\d+/', $match, $matches);
738 $this->addCall('multiplyentity', [$matches[
[all...]
/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 if (preg_match_all("/<($name)" . \SimplePie\SimplePie::PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$name>|(\/)?>)/siU", $string, $matches, PREG_SET_ORDER | PREG_OFFSET_CAPTURE)) {
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];
119 if (isset($matches[$i][2][0]) && preg_match_all('/[\x09\x0A\x0B\x0C\x0D\x20]+([^\x09\x0A\x0B\x0C\x0D\x20\x2F\x3E][^\x09\x0A\x0B\x0C\x0D\x20\x2F\x3D\x3E]*)(?:[\x09\x0A\x0B\x0C\x0D\x20]*=[\x09\x0A\x0B\x0C\x0D\x20]*(?:"([^"]*)"|\'([^\']*)\'|([^\x09\x0A\x0B\x0C\x0D\x20\x22\x27\x3E][^\x09\x0A\x0B\x0C\x0D\x20\x3E]*)?))?/', ' ' . $matches[$i][2][0] . ' ', $attribs, PREG_SET_ORDER)) {
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php748 if (!preg_match('/^([^.]+)\.php$/', $entry, $matches)) {
753 $langname = $matches[1];
797 if (!preg_match('/\'LANG_NAME\'\s*=>\s*\'((?:[^\']|\\\')+?)\'/', $data, $matches)) {
803 return stripcslashes($matches[1]);
1288 * @param string $key The style to make the regular expression matches
2209 $matches = array();
2220 if (!isset($matches[$dk][$open])) {
2221 $matches[$dk][$open] = array(
2233 if ($matches[$dk][$open]['next_match'] < $i) {
2241 $matches[
3301 handle_regexps_callback($matches) global() argument
3315 handle_multiline_regexps($matches) global() argument
[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.php460 preg_match_all("/%{([^}]+)/", $filter, $matches, PREG_PATTERN_ORDER);
462 foreach ($matches[1] as $match) {
528 static fn($matches) => "\\" . implode("", unpack("H2", $matches[1])),
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH1.php

12