Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 55) sorted by path

123

/dokuwiki/data/pages/wiki/
H A Dsyntax.txt137 Resize to given width and height((when the aspect ratio of the given width and height doesn't match
/dokuwiki/inc/Action/
H A DRedirect.php38 } else if($PRE && preg_match('/^\s*==+([^=\n]+)/', $TEXT, $match)) {
41 $opts['fragment'] = sectionID($match[0], $check);
/dokuwiki/inc/
H A DErrorHandler.php119 if (preg_match('/lib\/plugins\/(\w+)\//', str_replace('\\', '/', $e->getFile()), $match)) {
120 return $match[1];
126 preg_match('/\w+?_plugin_(\w+)/', $line['class'], $match)
128 return $match[1];
133 preg_match('/lib\/plugins\/(\w+)\//', str_replace('\\', '/', $line['file']), $match)
135 return $match[1];
H A DMailer.class.php367 foreach ($matches as $match) {
368 array_push($addresses, rtrim($match[0], ','));
H A Dauth.php663 foreach($matches as $match) {
664 $match = preg_replace('/#.*$/', '', $match); //ignore comments
665 $acl = preg_split('/[ \t]+/', $match);
693 foreach($matches as $match) {
694 $match = preg_replace('/#.*$/', '', $match); //ignore comments
695 $acl = preg_split('/[ \t]+/', $match);
H A Dcommon.php606 foreach ($matches as $match){
607 $resize[$match[1]] = $match[2];
815 $match = array();
817 …if(preg_match("/^$IPv4Address$/", $ip[$i], $match) || preg_match("/^$IPv6Address$/", $ip[$i], $mat…
818 $ip[$i] = $match[0];
H A Dfetch.functions.php117 function ($match) {
118 return rawurlencode($match[0]);
H A Dfulltext.php427 $match = array();
450 } else if (preg_match('/'.$re3.'/iu',$text,$match,PREG_OFFSET_CAPTURE,$offset)) {
451 } else if (preg_match('/'.$re2.'/iu',$text,$match,PREG_OFFSET_CAPTURE,$offset)) {
452 } else if (preg_match('/'.$re1.'/iu',$text,$match,PREG_OFFSET_CAPTURE,$offset)) {
457 list($str,$idx) = $match[0];
H A Dhtml.php271 $html = @preg_replace_callback("/((<[^>]*)|$regex)/ui", function ($match) {
272 $hlight = unslash($match[0]);
273 if (!isset($match[2])) {
H A Dinit.php590 if(preg_match('!^([a-zA-z]:)(.*)!',$path,$match)){
591 $root = $match[1].'/';
592 $path = $match[2];
593 }else if(preg_match('!^(\\\\\\\\[^\\\\/]+\\\\[^\\\\/]+[\\\\/])(.*)!',$path,$match)){
594 $root = $match[1];
595 $path = $match[2];
H A Dio.php622 $match=array();
624 … preg_match('/attachment;\s*filename\s*=\s*"([^"]*)"/i', $content_disposition, $match)) {
626 $name = \dokuwiki\Utf8\PhpString::basename($match[1]);
724 if(preg_match($pattern,$line,$match)){
726 $matches[] = $match;
H A Dpageutils.php65 if(preg_match('/^'.preg_quote($script,'/').'(.*)/',$request, $match)){
66 $id = preg_replace ('/\?.*/','',$match[1]);
H A Dsearch.php515 $match = empty($opts['recmatch']) || preg_match('/'.$opts['recmatch'].'/',$file);
516 if (!$match) {
/dokuwiki/inc/Extension/
H A DSyntaxPlugin.php73 * @param string $match The text matched by the patterns
79 abstract public function handle($match, $state, $pos, Doku_Handler $handler); argument
/dokuwiki/inc/HTTP/
H A DHTTPClient.php324 … if($this->max_bodysize && preg_match('/\r?\nContent-Length:\s*(\d+)\r?\n/i',$r_headers,$match)){
325 if($match[1] > $this->max_bodysize){
/dokuwiki/inc/Parsing/Handler/
H A DLists.php175 protected function interpretSyntax($match, & $type) argument
177 if (substr($match, -1) == '*') {
184 return substr_count(str_replace("\t", ' ', $match), ' ') + 1;
/dokuwiki/inc/Parsing/Lexer/
H A DLexer.php294 list($unparsed, $match, $raw) = $split;
295 return array($unparsed, $match, $action);
H A DParallelRegex.php65 * @param string $match First matched portion of
69 public function apply($subject, &$match) argument
75 $match = "";
79 $match = $matches[0];
/dokuwiki/inc/Ui/
H A DDiff.php485 return preg_replace_callback('/<[^>]*>|[^<> ]{12,}/', function ($match) {
487 if ($match[0][0] == '<') return $match[0];
499 return preg_replace('<'.$regex.'>xu', '\0<wbr>', $match[0]);
/dokuwiki/inc/Utf8/
H A DPhpString.php171 if (!preg_match('#' . $offset_pattern . $length_pattern . '#us', $str, $match)) return '';
172 return $match[1];
/dokuwiki/inc/parser/
H A Dhandler.php104 * @param string $match matched syntax
170 foreach ($matches as $match) {
173 $key = trim($match[0]);
229 * @param string $match matched syntax
268 * @param string $match matched syntax
275 $data = array($match);
288 * @param string $match matched syntax
311 $title = trim($match);
949 $p['max'] = $match[1];
977 $url = $match;
[all …]
H A Dmetadata.php520 * @param string $match original link - probably not much use
525 public function interwikilink($match, $name, $wikiName, $wikiUri) argument
H A Drenderer.php111 * @param string $match raw matched syntax
113 public function plugin($name, $data, $state = '', $match = '') { argument
870 preg_replace_callback('/[[\\\\\]^`{|}#%]/', function($match) {
871 return rawurlencode($match[0]);
H A Dxhtml.php1013 * @param string $match original link - probably not much use
1020 public function interwikilink($match, $name, $wikiName, $wikiUri, $returnonly = false) { argument
/dokuwiki/lib/exe/
H A Dcss.php469 return $match[0];
471 if ($match[3][0] != '/') {
472 $match[3] = $this->getRelativePath() . '/' . $match[3];
475 $match[3] = $this->location . $match[3];
487 * @param array $match
490 function css_datauri($match){ argument
493 $pre = unslash($match[1]);
494 $base = unslash($match[2]);
495 $url = unslash($match[3]);
496 $ext = unslash($match[4]);
[all …]

123