Home
last modified time | relevance | path

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

123

/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Parse/
H A DDate.php722 $match[$i] = '1';
727 $match[$i] = '0';
731 if (isset($match[9]) && $match[9] !== '')
746 $second = round((int)$match[6] + (int)$match[7] / (10 ** strlen($match[7])));
748 return gmmktime($match[4], $match[5], $second, $match[2], $match[3], $match[1]) - $timezone;
881 if ($match[4] < 50)
883 $match[4] += 2000;
887 $match[4] += 1900;
900 return gmmktime($match[5], $match[6], $second, $month, $match[2], $match[4]) - $timezone;
963 return gmmktime($match[5], $match[6], $match[7], $month, $match[2], $match[4]) - $timezone;
[all …]
/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 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]);
/dokuwiki/lib/scripts/
H A Deditor.js148 var match = search.match(/(\n +([\*-] ?)?)/);
149 if(match){
151 var match2 = search.match(/^\n +[\*-]\s*$/);
153 if (match2 && this.value.substr(selection.start).match(/^($|\r?\n)/)) {
160 insertAtCarret(this.id,match[1]);
168 var match = search.match(/(\n +)([*-] ?)$/);
169 if(match){
170 var spaces = match[1].length-1;
189 var match = search.match(/(\n +)([*-] )$/);
190 if(match){
H A Dbehaviour.js139 if(!LANG.nosmblinks || navigator.userAgent.match(/(Trident|MSIE|Edge)/)) {
172 show_list = $this.val().match(/:$/);
/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 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 Dfetch.functions.php117 function ($match) {
118 return rawurlencode($match[0]);
/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 …]
H A Djs.php174 while(preg_match('#/\*\s*DOKUWIKI:include(_once)?\s+([\w\.\-_/]+)\s*\*/#',$data,$match)){
175 $ifile = $match[2];
178 if($match[1]){
181 $data = str_replace($match[0], '' ,$data);
194 $data = str_replace($match[0],$idata,$data);
/dokuwiki/lib/plugins/styling/
H A Dadmin.php124 if (preg_match('/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/', $value, $match)) {
125 return '#' . $match[1] . $match[1] . $match[2] . $match[2] . $match[3] . $match[3];
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Decode/HTML/
H A DEntities.php593 for ($i = 0, $match = null; $i < 9 && $this->consume() !== false; $i++)
598 $match = $consumed;
602 if ($match !== null)
604 …ata = substr_replace($this->data, $entities[$match], $this->position - strlen($consumed) - 1, strl…
605 $this->position += strlen($entities[$match]) - strlen($consumed) - 1;
/dokuwiki/lib/tpl/dokuwiki/
H A Dscript.js21 if (device_class.match(/tablet/)) return;
25 if (device_class.match(/phone/)) return;
49 if (device_class.match(/mobile/)){
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DSanitize.php454 public function do_strip_htmltags($match) argument
458 if (isset($match[4]) && !in_array(strtolower($match[1]), array('script', 'style')))
460 $match[1] = htmlspecialchars($match[1], ENT_COMPAT, 'UTF-8');
461 $match[2] = htmlspecialchars($match[2], ENT_COMPAT, 'UTF-8');
462 return "&lt;$match[1]$match[2]&gt;$match[3]&lt;/$match[1]&gt;";
466 return htmlspecialchars($match[0], ENT_COMPAT, 'UTF-8');
469 elseif (isset($match[4]) && !in_array(strtolower($match[1]), array('script', 'style')))
471 return $match[4];
H A DIRI.php366 if ($match[1] === '')
368 $match['scheme'] = null;
370 if (!isset($match[3]) || $match[3] === '')
372 $match['authority'] = null;
374 if (!isset($match[5]))
376 $match['path'] = '';
378 if (!isset($match[6]) || $match[6] === '')
380 $match['query'] = null;
382 if (!isset($match[8]) || $match[8] === '')
384 $match['fragment'] = null;
[all …]
/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/Parsing/Lexer/
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/vendor/simplepie/simplepie/library/SimplePie/Net/
H A DIPv6.php160 foreach ($matches[0] as $match)
162 if (strlen($match[0]) > $max)
164 $max = strlen($match[0]);
165 $pos = $match[1];
/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/vendor/phpseclib/phpseclib/phpseclib/File/
H A DANSI.php290 … case preg_match('#\x1B\[(\d+)B#', $this->ansi, $match): // Move cursor down n lines
292 $this->y+= $match[1];
294 …case preg_match('#\x1B\[(\d+);(\d+)H#', $this->ansi, $match): // Move cursor to screen location v,h
297 $this->x = $match[2] - 1;
298 $this->y = $match[1] - 1;
300 … case preg_match('#\x1B\[(\d+)C#', $this->ansi, $match): // Move cursor right n lines
302 $this->x+= $match[1];
304 … case preg_match('#\x1B\[(\d+)D#', $this->ansi, $match): // Move cursor left n lines
306 $this->x-= $match[1];
313 … case preg_match('#\x1B\[(\d*(?:;\d*)*)m#', $this->ansi, $match): // character attributes
[all …]
/dokuwiki/lib/plugins/config/core/
H A DConfigParser.php51 if(preg_match('/^array ?\((.*)\)/', $value, $match)) {
52 $arr = explode(',', $match[1]);
/dokuwiki/lib/plugins/info/
H A Dsyntax.php48 * @param string $match The text matched by the patterns
54 public function handle($match, $state, $pos, Doku_Handler $handler) argument
56 $match = substr($match, 7, -2); //strip ~~INFO: from start and ~~ from end
57 return array(strtolower($match));
/dokuwiki/lib/plugins/logviewer/
H A Dscript.js15 if (elem.innerText.match(re)) {
/dokuwiki/lib/plugins/authldap/
H A Dauth.php252 if ($grpkey !== 'count' && preg_match($regexp, $grp, $match)) {
254 $info[$localkey][] = $match[1];
256 $info[$localkey] = $match[1];
457 foreach ($matches[1] as $match) {
459 if (is_array($placeholders[$match])) {
460 $value = $placeholders[$match][0];
462 $value = $placeholders[$match];
465 $filter = str_replace('%{' . $match . '}', $value, $filter);
/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;

123