/dokuwiki/inc/ |
D | Info.php | 30 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];
|
D | mail.php | 165 function mail_quotedprintable_encode_callback($matches) argument 167 return sprintf("=%02X", ord($matches[0])) ;
|
D | Mailer.class.php | 123 * @param array $matches 126 protected function autoEmbedCallBack($matches) argument 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_O… 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[2];
|
D | fulltext.php | 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)) { 795 $parsed .= 'NOT(' . ft_termParser($Indexer, $matches[1]) . ')';
|
/dokuwiki/_test/tests/test/ |
D | edit_and_save.test.php | 30 preg_match_all('#<h1[^>]*>Headline2</h1[^>]*>#', $content, $matches, PREG_SET_ORDER); 31 $this->assertEquals(2, count($matches)); 34 $result = preg_match('/id="(.*)"/', $matches [0][0], $idA); 36 $result = preg_match('/id="(.*)"/', $matches [1][0], $idB); 49 …('/<input type="hidden" name="([^"]*)" value="([^"]*)" \/>/', $formA[0], $matches, PREG_SET_ORDER); 51 foreach ($matches as $match) { 71 …<input type="hidden" name="([^"]*)" value="([^"]*)" \/>/', $editForm[0], $matches, PREG_SET_ORDER); 73 foreach ($matches as $match) { 113 preg_match_all('#<h1[^>]*>Headline2</h1[^>]*>#', $content, $matches, PREG_SET_ORDER); 114 $this->assertEquals(2, count($matches)); [all …]
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ |
D | PKCS1.php | 79 case preg_match("#^AES-(128|192|256)-$modes$#", $algo, $matches): 80 $cipher = new AES(self::getEncryptionMode($matches[2])); 81 $cipher->setKeyLength($matches[1]); 83 case preg_match("#^DES-EDE3-$modes$#", $algo, $matches): 84 return new TripleDES(self::getEncryptionMode($matches[1])); 85 case preg_match("#^DES-$modes$#", $algo, $matches): 86 return new DES(self::getEncryptionMode($matches[1])); 138 if (preg_match('#DEK-Info: (.+),(.+)#', $key, $matches)) { 139 $iv = Strings::hex2bin(trim($matches[2])); 146 $crypto = self::getEncryptionObject($matches[1]);
|
/dokuwiki/lib/plugins/config/core/ |
D | ConfigParser.php | 43 $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/ |
D | ParallelRegex.php | 72 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/_test/core/ |
D | TestResponse.php | 85 $matches = array(); 86 preg_match('/^Status: ?(\d+)/', $status, $matches); 87 if($matches) { 88 $code = $matches[1];
|
/dokuwiki/_test/tests/inc/ |
D | html_secedit_pattern.test.php | 52 preg_match(SEC_EDIT_PATTERN, $text, $matches); 53 $data = json_decode($matches[1], true);
|
D | lang.php | 186 …if (!preg_match_all('/%(?:([0-9]+)\$)?([-.0-9hl]*?[%dufsc])/', $string, $matches, PREG_SET_ORDER))… 199 usort($matches, function ($a, $b) { 213 return array_column($matches, 2);
|
/dokuwiki/lib/plugins/extension/ |
D | Repository.php | 245 if (preg_match_all('/(^|\s)(tag:([\S]+))/', $q, $matches, PREG_SET_ORDER)) { 246 foreach ($matches as $m) { 252 if (preg_match_all('/(^|\s)(authorid:([\S]+))/', $q, $matches, PREG_SET_ORDER)) { 253 foreach ($matches as $m) { 259 if (preg_match_all('/(^|\s)(ext:([\S]+))/', $q, $matches, PREG_SET_ORDER)) { 260 foreach ($matches as $m) { 266 if (preg_match_all('/(^|\s)(type:([\S]+))/', $q, $matches, PREG_SET_ORDER)) { 270 foreach ($matches as $m) {
|
/dokuwiki/inc/Utf8/ |
D | Clean.php | 127 while (preg_match('/' . $UTF8_BAD . '/S', $str, $matches)) { 128 if (!isset($matches[2])) { 129 echo $matches[0]; 133 $str = substr($str, strlen($matches[0]));
|
D | PhpString.php | 309 preg_match('/^(.{1})(.*)$/us', $str, $matches); 310 return self::strtoupper($matches[1]) . $matches[2]; 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/ |
D | SettingEmail.php | 44 if (preg_match('#(.*?)<(.*?)>#', $mail, $matches)) { 45 $addr = $matches[2];
|
/dokuwiki/inc/Remote/OpenApiDoc/ |
D | DocBlock.php | 42 if (preg_match_all('/^@(\w+)\s+(.*)$/m', $docblock, $matches, PREG_SET_ORDER)) { 43 foreach ($matches as $match) {
|
/dokuwiki/inc/Parsing/Handler/ |
D | Quote.php | 82 preg_match('/>{1,}/', $marker, $matches); 83 $quoteLength = strlen($matches[0]);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ |
D | PKCS1.php | 65 preg_match('#-*BEGIN EC PRIVATE KEY-*[^-]*-*END EC PRIVATE KEY-*#s', $key, $matches); 66 $decoded = parent::load($matches[0], $password); 81 preg_match('#-*BEGIN EC PARAMETERS-*[^-]*-*END EC PARAMETERS-*#s', $key, $matches); 82 $decoded = parent::load($matches[0], '');
|
/dokuwiki/lib/exe/ |
D | css.php | 653 * @param array $matches 659 function css_comment_cb($matches) argument 661 if (strlen($matches[2]) > 4) return ''; 662 return $matches[0]; 670 * @param array $matches 673 function css_onelinecomment_cb($matches) argument 675 $line = $matches[0];
|
/dokuwiki/inc/parser/ |
D | handler.php | 186 …l('/(\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[0][0], $matches[0][1]], $pos);
|
/dokuwiki/vendor/simplepie/simplepie/src/Net/ |
D | IPv6.php | 146 if (preg_match_all('/(?:^|:)(?:0(?::|$))+/', $ip_parts[0], $matches, PREG_OFFSET_CAPTURE)) { 149 foreach ($matches[0] as $match) {
|
/dokuwiki/lib/plugins/authad/adLDAP/classes/ |
D | adLDAPUtils.php | 106 function ($matches) { 107 return "\\".join("", unpack("H2", $matches[1]));
|
/dokuwiki/vendor/simplepie/simplepie/src/ |
D | Misc.php | 106 …implePie::PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$name>|(\/)?>)/siU", $string, $matches, PREG_SET_ORDER |… 107 for ($i = 0, $total_matches = count($matches); $i < $total_matches; $i++) { 109 $return[$i]['full'] = $matches[$i][0][0]; 110 $return[$i]['offset'] = $matches[$i][0][1]; 111 if (strlen($matches[$i][3][0]) <= 2) { 115 $return[$i]['content'] = $matches[$i][4][0]; 118 …matches[$i][2][0]) && preg_match_all('/[\x09\x0A\x0B\x0C\x0D\x20]+([^\x09\x0A\x0B\x0C\x0D\x20\x2F\…
|
/dokuwiki/vendor/splitbrain/slika/src/ |
D | GdAdapter.php | 60 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/geshi/geshi/src/ |
D | geshi.php | 748 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]); 2209 $matches = array(); 2220 if (!isset($matches[$dk][$open])) { 2221 $matches[$dk][$open] = array( 2233 if ($matches[$dk][$open]['next_match'] < $i) { 2241 $matches[$dk][$open]['next_match'] = $open_pos; 2243 if ($matches[$dk][$open]['next_match'] < $next_match_pos) { [all …]
|