Lines Matching refs:matches
380 function _stripLinkDefinitions_callback($matches) { argument
381 $link_id = strtolower($matches[1]);
382 $url = $matches[2] == '' ? $matches[3] : $matches[2];
384 $this->titles[$link_id] =& $matches[4];
526 function _hashHTMLBlocks_callback($matches) { argument
527 $text = $matches[1];
667 function _doHardBreaks_callback($matches) { argument
742 function _doAnchors_reference_callback($matches) { argument
743 $whole_match = $matches[1];
744 $link_text = $matches[2];
745 $link_id =& $matches[3];
776 function _doAnchors_inline_callback($matches) { argument
777 $whole_match = $matches[1];
778 $link_text = $this->runSpanGamut($matches[2]);
779 $url = $matches[3] == '' ? $matches[4] : $matches[3];
780 $title =& $matches[7];
852 function _doImages_reference_callback($matches) { argument
853 $whole_match = $matches[1];
854 $alt_text = $matches[2];
855 $link_id = strtolower($matches[3]);
880 function _doImages_inline_callback($matches) { argument
881 $whole_match = $matches[1];
882 $alt_text = $matches[2];
883 $url = $matches[3] == '' ? $matches[4] : $matches[3];
884 $title =& $matches[7];
929 function _doHeaders_callback_setext($matches) { argument
931 if ($matches[2] == '-' && preg_match('{^-(?: |$)}', $matches[1]))
932 return $matches[0];
934 $level = $matches[2][0] == '=' ? 1 : 2;
935 $block = "<h$level>".$this->runSpanGamut($matches[1])."</h$level>";
938 function _doHeaders_callback_atx($matches) { argument
939 $level = strlen($matches[1]);
940 $block = "<h$level>".$this->runSpanGamut($matches[2])."</h$level>";
1011 function _doLists_callback($matches) { argument
1017 $list = $matches[1];
1018 $list_type = preg_match("/$marker_ul_re/", $matches[4]) ? "ul" : "ol";
1077 function _processListItems_callback($matches) { argument
1078 $item = $matches[4];
1079 $leading_line =& $matches[1];
1080 $leading_space =& $matches[2];
1081 $marker_space = $matches[3];
1082 $tailing_blank_line =& $matches[5];
1120 function _doCodeBlocks_callback($matches) { argument
1121 $codeblock = $matches[1];
1320 function _doBlockQuotes_callback($matches) { argument
1321 $bq = $matches[1];
1334 function _doBlockQuotes_callback2($matches) { argument
1335 $pre = $matches[1];
1470 function _doAutoLinks_url_callback($matches) { argument
1471 $url = $this->encodeAttribute($matches[1]);
1475 function _doAutoLinks_email_callback($matches) { argument
1476 $address = $matches[1];
1590 $str, $matches))
1592 $str = $matches[2];
1593 $codespan = $this->makeCodeSpan($matches[1]);
1628 function _detab_callback($matches) { argument
1629 $line = $matches[0];
1666 function _unhash_callback($matches) { argument
1667 return $this->html_hashes[$matches[0]];
1938 $text, $matches))
1941 $parsed .= $tag . $matches[0];
1942 $text = substr($text, strlen($matches[0]));
1956 $matches))
1959 $parsed .= $tag . $matches[0];
1960 $text = substr($text, strlen($matches[0]));
2100 if (preg_match('/^<([\w:$]*)\b/', $text, $matches))
2101 $base_tag_name_re = $matches[1];
2165 if (preg_match('/(?:^|\n)( *?)(?! ).*?$/', $block_text, $matches)) {
2167 $indent = $strlen($matches[1], 'UTF-8');
2178 preg_match('/^<([\w:$]*)\b/', $tag, $matches);
2179 $tag_name_re = $matches[1];
2267 function _doHeaders_callback_setext($matches) { argument
2268 if ($matches[3] == '-' && preg_match('{^- }', $matches[1]))
2269 return $matches[0];
2270 $level = $matches[3][0] == '=' ? 1 : 2;
2271 $attr = $this->_doHeaders_attr($id =& $matches[2]);
2272 $block = "<h$level$attr>".$this->runSpanGamut($matches[1])."</h$level>";
2275 function _doHeaders_callback_atx($matches) { argument
2276 $level = strlen($matches[1]);
2277 $attr = $this->_doHeaders_attr($id =& $matches[3]);
2278 $block = "<h$level$attr>".$this->runSpanGamut($matches[2])."</h$level>";
2344 function _doTable_leadingPipe_callback($matches) { argument
2345 $head = $matches[1];
2346 $underline = $matches[2];
2347 $content = $matches[3];
2352 return $this->_doTable_callback(array($matches[0], $head, $underline, $content));
2354 function _doTable_callback($matches) { argument
2355 $head = $matches[1];
2356 $underline = $matches[2];
2357 $content = $matches[3];
2455 function _doDefLists_callback($matches) { argument
2457 $list = $matches[1];
2510 function _processDefListItems_callback_dt($matches) { argument
2511 $terms = explode("\n", trim($matches[1]));
2519 function _processDefListItems_callback_dd($matches) { argument
2520 $leading_line = $matches[1];
2521 $marker_space = $matches[2];
2522 $def = $matches[3];
2572 function _doFencedCodeBlocks_callback($matches) { argument
2573 $codeblock = $matches[2];
2580 function _doFencedCodeBlocks_newlines($matches) { argument
2582 strlen($matches[0]));
2672 function _stripFootnotes_callback($matches) { argument
2673 $note_id = $this->fn_id_prefix . $matches[1];
2674 $this->footnotes[$note_id] = $this->outdent($matches[2]);
2748 function _appendFootnotes_callback($matches) { argument
2749 $node_id = $this->fn_id_prefix . $matches[1];
2780 return "[^".$matches[1]."]";
2801 function _stripAbbreviations_callback($matches) { argument
2802 $abbr_word = $matches[1];
2803 $abbr_desc = $matches[2];
2828 function _doAbbreviations_callback($matches) { argument
2829 $abbr = $matches[0];
2839 return $matches[0];