Lines Matching refs:text
90 $text = trim(trim($match), '='); // drop heading markup
91 $text = ltrim($text);
92 $dash = strspn($text, '-'); // count dash marker to check '-' or '--'
93 $text = substr($text, $dash);
95 switch ($text[0]) {
97 list($number, $title) = array('', trim($text));
111 list($number, $title) = explode(' ', substr($text, 1), 2);
116 $closed = strpos($text, '"', 1); // search closing "
118 $number = substr($text, 1, $closed -1);
119 $title = trim(substr($text, $closed + 1));
121 list($number, $title) = explode(' ', substr($text, 1), 2);