Searched refs:matched (Results 1 – 2 of 2) sorted by last modified time
/dokuwiki/inc/ |
H A D | io.php | 324 * Otherwise each line is matched and replaced individually, up to the first $maxlines lines 372 $matched = 0; 375 // $matched will be set to 0|1 depending on whether pattern is matched and line replaced 376 $lines[$i] = preg_replace($pattern, $replace, $line, -1, $matched); 377 if ($matched) {
|
/dokuwiki/inc/Parsing/Lexer/ |
H A D | Lexer.php | 143 [$unmatched, $matched, $mode] = $parsed; 145 $matchPos = $initialLength - $currentLength - strlen($matched); 146 if (! $this->dispatchTokens($unmatched, $matched, $mode, $pos, $matchPos)) { 172 * Sends the matched token and any leading unmatched 177 * @param string $matched Actual token match. 183 protected function dispatchTokens($unmatched, $matched, $mode, $initialPos, $matchPos) 189 if (! $this->invokeHandler($matched, DOKU_LEXER_EXIT, $matchPos)) { 196 if (! $this->invokeHandler($matched, DOKU_LEXER_SPECIAL, $matchPos)) { 203 return $this->invokeHandler($matched, DOKU_LEXER_ENTER, $matchPos); 205 return $this->invokeHandler($matched, DOKU_LEXER_MATCHE 184 dispatchTokens($unmatched, $matched, $mode, $initialPos, $matchPos) global() argument [all...] |