Home
last modified time | relevance | path

Searched refs:addPattern (Results 1 – 6 of 6) sorted by relevance

/dokuwiki/inc/Parsing/ParserMode/
H A DTable.php33 $this->Lexer->addPattern('\n\^', 'table');
34 $this->Lexer->addPattern('\n\|', 'table');
35 $this->Lexer->addPattern('[\t ]*:::[\t ]*(?=[\|\^])', 'table');
36 $this->Lexer->addPattern('[\t ]+', 'table');
37 $this->Lexer->addPattern('\^', 'table');
38 $this->Lexer->addPattern('\|', 'table');
H A DPreformatted.php16 $this->Lexer->addPattern('\n ', 'preformatted');
17 $this->Lexer->addPattern('\n\t', 'preformatted');
H A DListblock.php29 $this->Lexer->addPattern('\n {2,}[\-\*]', 'listblock');
30 $this->Lexer->addPattern('\n\t{1,}[\-\*]', 'listblock');
H A DQuote.php32 $this->Lexer->addPattern('\n>{1,}', 'quote');
/dokuwiki/inc/Parsing/Lexer/
H A DLexer.php58 public function addPattern($pattern, $mode = "accept") function in dokuwiki\\Parsing\\Lexer\\Lexer
63 $this->regexes[$mode]->addPattern($pattern);
80 $this->regexes[$mode]->addPattern($pattern, $new_mode);
94 $this->regexes[$mode]->addPattern($pattern, "__exit");
112 $this->regexes[$mode]->addPattern($pattern, "_$special");
H A DParallelRegex.php53 public function addPattern($pattern, $label = true) function in dokuwiki\\Parsing\\Lexer\\ParallelRegex