Lines Matching refs:line
25 protected function identifyOl($line) argument
27 …return (($l = $line[0]) > '0' && $l <= '9' || $l === ' ') && preg_match('/^ {0,3}\d+\.[ \t]/', $li…
33 protected function identifyUl($line) argument
35 $l = $line[0];
36 …return ($l === '-' || $l === '+' || $l === '*') && (isset($line[1]) && (($l1 = $line[1]) === ' ' |…
37 ($l === ' ' && preg_match('/^ {0,3}[\-\+\*][ \t]/', $line));
82 $line = $lines[$i];
85 if (preg_match($pattern, $line, $matches)) {
88 $line = substr($line, strlen($matches[0]));
92 $line = substr($line, $len);
105 $block['items'][++$item][] = $line;
108 } elseif (ltrim($line) === '') {
118 $block['items'][$item][] = $line;
123 $block['items'][$item][] = $line;
132 if ($line[0] === "\t") {
133 $line = substr($line, 1);
134 } elseif (strncmp($line, $indent, $len) === 0) {
135 $line = substr($line, $len);
137 $block['items'][$item][] = $line;