Lines Matching refs:matches

393 	function _stripLinkDefinitions_callback($matches) {  argument
394 $link_id = strtolower($matches[1]);
395 $url = $matches[2] == '' ? $matches[3] : $matches[2];
397 $this->titles[$link_id] =& $matches[4];
541 function _hashHTMLBlocks_callback($matches) { argument
542 $text = $matches[1];
682 function _doHardBreaks_callback($matches) { argument
757 function _doAnchors_reference_callback($matches) { argument
758 $whole_match = $matches[1];
759 $link_text = $matches[2];
760 $link_id =& $matches[3];
791 function _doAnchors_inline_callback($matches) { argument
792 $whole_match = $matches[1];
793 $link_text = $this->runSpanGamut($matches[2]);
794 $url = $matches[3] == '' ? $matches[4] : $matches[3];
795 $title =& $matches[7];
867 function _doImages_reference_callback($matches) { argument
868 $whole_match = $matches[1];
869 $alt_text = $matches[2];
870 $link_id = strtolower($matches[3]);
895 function _doImages_inline_callback($matches) { argument
896 $whole_match = $matches[1];
897 $alt_text = $matches[2];
898 $url = $matches[3] == '' ? $matches[4] : $matches[3];
899 $title =& $matches[7];
944 function _doHeaders_callback_setext($matches) { argument
946 if ($matches[2] == '-' && preg_match('{^-(?: |$)}', $matches[1]))
947 return $matches[0];
949 $level = $matches[2]{0} == '=' ? 1 : 2;
950 $block = "<h$level>".$this->runSpanGamut($matches[1])."</h$level>";
953 function _doHeaders_callback_atx($matches) { argument
954 $level = strlen($matches[1]);
955 $block = "<h$level>".$this->runSpanGamut($matches[2])."</h$level>";
1026 function _doLists_callback($matches) { argument
1032 $list = $matches[1];
1033 $list_type = preg_match("/$marker_ul_re/", $matches[4]) ? "ul" : "ol";
1092 function _processListItems_callback($matches) { argument
1093 $item = $matches[4];
1094 $leading_line =& $matches[1];
1095 $leading_space =& $matches[2];
1096 $marker_space = $matches[3];
1097 $tailing_blank_line =& $matches[5];
1135 function _doCodeBlocks_callback($matches) { argument
1136 $codeblock = $matches[1];
1335 function _doBlockQuotes_callback($matches) { argument
1336 $bq = $matches[1];
1349 function _doBlockQuotes_callback2($matches) { argument
1350 $pre = $matches[1];
1486 function _doAutoLinks_tel_callback($matches) { argument
1487 $url = $this->encodeAttribute($matches[1]);
1488 $tel = $this->encodeAttribute($matches[2]);
1492 function _doAutoLinks_url_callback($matches) { argument
1493 $url = $this->encodeAttribute($matches[1]);
1497 function _doAutoLinks_email_callback($matches) { argument
1498 $address = $matches[1];
1616 $str, $matches))
1618 $str = $matches[2];
1619 $codespan = $this->makeCodeSpan($matches[1]);
1654 function _detab_callback($matches) { argument
1655 $line = $matches[0];
1692 function _unhash_callback($matches) { argument
1693 return $this->html_hashes[$matches[0]];
1826 preg_match_all('/[#.][-_:a-zA-Z0-9]+/', $attr, $matches);
1827 $elements = $matches[0];
1887 function _stripLinkDefinitions_callback($matches) { argument
1888 $link_id = strtolower($matches[1]);
1889 $url = $matches[2] == '' ? $matches[3] : $matches[2];
1891 $this->titles[$link_id] =& $matches[4];
1892 $this->ref_attr[$link_id] = $this->doExtraAttributes("", $dummy =& $matches[5]);
2084 $matches))
2087 $parsed .= $tag . $matches[0];
2088 $text = substr($text, strlen($matches[0]));
2111 $text, $matches))
2114 $parsed .= $tag . $matches[0];
2115 $text = substr($text, strlen($matches[0]));
2247 if (preg_match('/^<([\w:$]*)\b/', $text, $matches))
2248 $base_tag_name_re = $matches[1];
2312 if (preg_match('/(?:^|\n)( *?)(?! ).*?$/', $block_text, $matches)) {
2314 $indent = $strlen($matches[1], 'UTF-8');
2325 preg_match('/^<([\w:$]*)\b/', $tag, $matches);
2326 $tag_name_re = $matches[1];
2441 function _doAnchors_reference_callback($matches) { argument
2442 $whole_match = $matches[1];
2443 $link_text = $matches[2];
2444 $link_id =& $matches[3];
2477 function _doAnchors_inline_callback($matches) { argument
2478 $whole_match = $matches[1];
2479 $link_text = $this->runSpanGamut($matches[2]);
2480 $url = $matches[3] == '' ? $matches[4] : $matches[3];
2481 $title =& $matches[7];
2482 $attr = $this->doExtraAttributes("a", $dummy =& $matches[8]);
2557 function _doImages_reference_callback($matches) { argument
2558 $whole_match = $matches[1];
2559 $alt_text = $matches[2];
2560 $link_id = strtolower($matches[3]);
2587 function _doImages_inline_callback($matches) { argument
2588 $whole_match = $matches[1];
2589 $alt_text = $matches[2];
2590 $url = $matches[3] == '' ? $matches[4] : $matches[3];
2591 $title =& $matches[7];
2592 $attr = $this->doExtraAttributes("img", $dummy =& $matches[8]);
2648 function _doHeaders_callback_setext($matches) { argument
2649 if ($matches[3] == '-' && preg_match('{^- }', $matches[1]))
2650 return $matches[0];
2651 $level = $matches[3]{0} == '=' ? 1 : 2;
2652 $attr = $this->doExtraAttributes("h$level", $dummy =& $matches[2]);
2653 $block = "<h$level$attr>".$this->runSpanGamut($matches[1])."</h$level>";
2656 function _doHeaders_callback_atx($matches) { argument
2657 $level = strlen($matches[1]);
2658 $attr = $this->doExtraAttributes("h$level", $dummy =& $matches[3]);
2659 $block = "<h$level$attr>".$this->runSpanGamut($matches[2])."</h$level>";
2725 function _doTable_leadingPipe_callback($matches) { argument
2726 $head = $matches[1];
2727 $underline = $matches[2];
2728 $content = $matches[3];
2733 return $this->_doTable_callback(array($matches[0], $head, $underline, $content));
2735 function _doTable_callback($matches) { argument
2736 $head = $matches[1];
2737 $underline = $matches[2];
2738 $content = $matches[3];
2837 function _doDefLists_callback($matches) { argument
2839 $list = $matches[1];
2892 function _processDefListItems_callback_dt($matches) { argument
2893 $terms = explode("\n", trim($matches[1]));
2901 function _processDefListItems_callback_dd($matches) { argument
2902 $leading_line = $matches[1];
2903 $marker_space = $matches[2];
2904 $def = $matches[3];
2960 function _doFencedCodeBlocks_callback($matches) { argument
2961 $classname =& $matches[2];
2962 $attrs =& $matches[3];
2963 $codeblock = $matches[4];
2981 function _doFencedCodeBlocks_newlines($matches) { argument
2983 strlen($matches[0]));
3073 function _stripFootnotes_callback($matches) { argument
3074 $note_id = $this->fn_id_prefix . $matches[1];
3075 $this->footnotes[$note_id] = $this->outdent($matches[2]);
3156 function _appendFootnotes_callback($matches) { argument
3157 $node_id = $this->fn_id_prefix . $matches[1];
3195 return "[^".$matches[1]."]";
3216 function _stripAbbreviations_callback($matches) { argument
3217 $abbr_word = $matches[1];
3218 $abbr_desc = $matches[2];
3243 function _doAbbreviations_callback($matches) { argument
3244 $abbr = $matches[0];
3254 return $matches[0];