Lines Matching refs:match

104      * @param string $match matched syntax
106 public function addPluginCall($plugin, $args, $state, $pos, $match) { argument
107 $call = array('plugin',array($plugin, $args, $state, $match), $pos);
170 foreach ($matches as $match) {
171 $equal_sign = strpos($match [0], '=');
173 $key = trim($match[0]);
176 $key = substr($match[0], 0, $equal_sign);
177 $value = substr($match[0], $equal_sign+1);
229 * @param string $match matched syntax
234 protected function nestingTag($match, $state, $pos, $name) { argument
243 $this->addCall('cdata', array($match), $pos);
268 * @param string $match matched syntax
274 public function plugin($match, $state, $pos, $pluginname){ argument
275 $data = array($match);
279 $data = $plugin->handle($match, $state, $pos, $this);
282 $this->addPluginCall($pluginname,$data,$state,$pos,$match);
288 * @param string $match matched syntax
293 public function base($match, $state, $pos) { argument
296 $this->addCall('cdata', array($match), $pos);
304 * @param string $match matched syntax
309 public function header($match, $state, $pos) { argument
311 $title = trim($match);
327 * @param string $match matched syntax
332 public function notoc($match, $state, $pos) { argument
338 * @param string $match matched syntax
343 public function nocache($match, $state, $pos) { argument
349 * @param string $match matched syntax
354 public function linebreak($match, $state, $pos) { argument
360 * @param string $match matched syntax
365 public function eol($match, $state, $pos) { argument
371 * @param string $match matched syntax
376 public function hr($match, $state, $pos) { argument
382 * @param string $match matched syntax
387 public function strong($match, $state, $pos) { argument
388 $this->nestingTag($match, $state, $pos, 'strong');
393 * @param string $match matched syntax
398 public function emphasis($match, $state, $pos) { argument
399 $this->nestingTag($match, $state, $pos, 'emphasis');
404 * @param string $match matched syntax
409 public function underline($match, $state, $pos) { argument
410 $this->nestingTag($match, $state, $pos, 'underline');
415 * @param string $match matched syntax
420 public function monospace($match, $state, $pos) { argument
421 $this->nestingTag($match, $state, $pos, 'monospace');
426 * @param string $match matched syntax
431 public function subscript($match, $state, $pos) { argument
432 $this->nestingTag($match, $state, $pos, 'subscript');
437 * @param string $match matched syntax
442 public function superscript($match, $state, $pos) { argument
443 $this->nestingTag($match, $state, $pos, 'superscript');
448 * @param string $match matched syntax
453 public function deleted($match, $state, $pos) { argument
454 $this->nestingTag($match, $state, $pos, 'deleted');
459 * @param string $match matched syntax
464 public function footnote($match, $state, $pos) { argument
472 $this->addCall('cdata', array($match), $pos);
483 $this->addCall('cdata', array($match), $pos);
495 $this->addCall('cdata', array($match), $pos);
502 * @param string $match matched syntax
507 public function listblock($match, $state, $pos) { argument
511 $this->addCall('list_open', array($match), $pos);
520 $this->addCall('list_item', array($match), $pos);
523 $this->addCall('cdata', array($match), $pos);
530 * @param string $match matched syntax
535 public function unformatted($match, $state, $pos) { argument
537 $this->addCall('unformatted', array($match), $pos);
543 * @param string $match matched syntax
548 public function php($match, $state, $pos) { argument
550 $this->addCall('php', array($match), $pos);
556 * @param string $match matched syntax
561 public function phpblock($match, $state, $pos) { argument
563 $this->addCall('phpblock', array($match), $pos);
569 * @param string $match matched syntax
574 public function html($match, $state, $pos) { argument
576 $this->addCall('html', array($match), $pos);
582 * @param string $match matched syntax
587 public function htmlblock($match, $state, $pos) { argument
589 $this->addCall('htmlblock', array($match), $pos);
595 * @param string $match matched syntax
600 public function preformatted($match, $state, $pos) { argument
616 $this->addCall('preformatted_content', array($match), $pos);
624 * @param string $match matched syntax
629 public function quote($match, $state, $pos) { argument
635 $this->addCall('quote_start', array($match), $pos);
646 $this->addCall('quote_newline', array($match), $pos);
650 $this->addCall('cdata', array($match), $pos);
659 * @param string $match matched syntax
664 public function file($match, $state, $pos) { argument
665 return $this->code($match, $state, $pos, 'file');
669 * @param string $match matched syntax
675 public function code($match, $state, $pos, $type='code') { argument
677 $matches = explode('>',$match,2);
698 * @param string $match matched syntax
703 public function acronym($match, $state, $pos) { argument
704 $this->addCall('acronym', array($match), $pos);
709 * @param string $match matched syntax
714 public function smiley($match, $state, $pos) { argument
715 $this->addCall('smiley', array($match), $pos);
720 * @param string $match matched syntax
725 public function wordblock($match, $state, $pos) { argument
726 $this->addCall('wordblock', array($match), $pos);
731 * @param string $match matched syntax
736 public function entity($match, $state, $pos) { argument
737 $this->addCall('entity', array($match), $pos);
742 * @param string $match matched syntax
747 public function multiplyentity($match, $state, $pos) { argument
748 preg_match_all('/\d+/',$match,$matches);
754 * @param string $match matched syntax
759 public function singlequoteopening($match, $state, $pos) { argument
765 * @param string $match matched syntax
770 public function singlequoteclosing($match, $state, $pos) { argument
776 * @param string $match matched syntax
781 public function apostrophe($match, $state, $pos) { argument
787 * @param string $match matched syntax
792 public function doublequoteopening($match, $state, $pos) { argument
799 * @param string $match matched syntax
804 public function doublequoteclosing($match, $state, $pos) { argument
806 $this->doublequoteopening($match, $state, $pos);
815 * @param string $match matched syntax
820 public function camelcaselink($match, $state, $pos) { argument
821 $this->addCall('camelcaselink', array($match), $pos);
826 * @param string $match matched syntax
831 public function internallink($match, $state, $pos) { argument
833 $link = preg_replace(array('/^\[\[/','/\]\]$/u'),'',$match);
896 * @param string $match matched syntax
901 public function filelink($match, $state, $pos) { argument
902 $this->addCall('filelink', array($match, null), $pos);
907 * @param string $match matched syntax
912 public function windowssharelink($match, $state, $pos) { argument
913 $this->addCall('windowssharelink', array($match, null), $pos);
918 * @param string $match matched syntax
923 public function media($match, $state, $pos) { argument
924 $p = Doku_Handler_Parse_Media($match);
936 * @param string $match matched syntax
941 public function rss($match, $state, $pos) { argument
942 $link = preg_replace(array('/^\{\{rss>/','/\}\}$/'),'',$match);
948 if(preg_match('/\b(\d+)\b/',$params,$match)){
949 $p['max'] = $match[1];
959 if (preg_match('/\b(\d+)([dhm])\b/',$params,$match)) {
961 …$p['refresh'] = max(600,$match[1]*$period[$match[2]]); // n * period in seconds, minimum 10 minut…
971 * @param string $match matched syntax
976 public function externallink($match, $state, $pos) { argument
977 $url = $match;
995 * @param string $match matched syntax
1000 public function emaillink($match, $state, $pos) { argument
1001 $email = preg_replace(array('/^</','/>$/'),'',$match);
1007 * @param string $match matched syntax
1012 public function table($match, $state, $pos) { argument
1020 if ( trim($match) == '^' ) {
1035 if ( trim($match) != '' ) {
1036 $this->addCall('cdata', array($match), $pos);
1041 if ( $match == ' ' ){
1042 $this->addCall('cdata', array($match), $pos);
1043 } else if ( preg_match('/:::/',$match) ) {
1044 $this->addCall('rowspan', array($match), $pos);
1045 } else if ( preg_match('/\t+/',$match) ) {
1046 $this->addCall('table_align', array($match), $pos);
1047 } else if ( preg_match('/ {2,}/',$match) ) {
1048 $this->addCall('table_align', array($match), $pos);
1049 } else if ( $match == "\n|" ) {
1052 } else if ( $match == "\n^" ) {
1055 } else if ( $match == '|' ) {
1057 } else if ( $match == '^' ) {
1069 function Doku_Handler_Parse_Media($match) { argument
1072 $link = preg_replace(array('/^\{\{/','/\}\}$/u'),'',$match);