Home
last modified time | relevance | path

Searched refs:matched (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/inc/Parsing/Lexer/
H A DLexer.php144 list($unmatched, $matched, $mode) = $parsed;
146 $matchPos = $initialLength - $currentLength - strlen($matched);
147 if (! $this->dispatchTokens($unmatched, $matched, $mode, $pos, $matchPos)) {
178 * @param string $matched Actual token match.
184 protected function dispatchTokens($unmatched, $matched, $mode, $initialPos, $matchPos) argument
190 if (! $this->invokeHandler($matched, DOKU_LEXER_EXIT, $matchPos)) {
197 if (! $this->invokeHandler($matched, DOKU_LEXER_SPECIAL, $matchPos)) {
204 return $this->invokeHandler($matched, DOKU_LEXER_ENTER, $matchPos);
206 return $this->invokeHandler($matched, DOKU_LEXER_MATCHED, $matchPos);
/dokuwiki/inc/
H A Dio.php341 $matched = 0;
345 $lines[$i] = preg_replace($pattern, $replace, $line, -1, $matched);
346 if ($matched) $count++;