Lines Matching defs:match
41 public function handle($match, $state, $pos, Doku_Handler $handler): array
47 preg_match('/\s([A-Za-z0-9_]+)\>$/', $match, $parts);
50 return [$state, $match, $parts[1]];
53 $match = preg_split("/(\r|\n|\r\n)/m", $match);
55 $match = $this->parseLines($match);
59 'lines' => $match,
65 return [$state, $match];
81 [$state, $match] = $data;
94 foreach ($match as $line) {
115 private function parseLines(array $match): array
117 $match = array_filter($match);
119 $match = array_map(function($line) use (&$count) {
134 }, $match);
136 return $match;