Home
last modified time | relevance | path

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

/dokuwiki/inc/Parsing/Lexer/
H A DLexer.php57 public function addPattern($pattern, $mode = "accept")
62 $this->regexes[$mode]->addPattern($pattern);
79 $this->regexes[$mode]->addPattern($pattern, $new_mode);
93 $this->regexes[$mode]->addPattern($pattern, "__exit");
111 $this->regexes[$mode]->addPattern($pattern, "_$special");
58 public function addPattern($pattern, $mode = "accept") global() function in dokuwiki\\Parsing\\Lexer\\Lexer
H A DParallelRegex.php51 public function addPattern($pattern, $label = true)
53 public function addPattern($pattern, $label = true) global() function in dokuwiki\\Parsing\\Lexer\\ParallelRegex
/dokuwiki/inc/Parsing/ParserMode/
H A DListblock.php28 $this->Lexer->addPattern('\n {2,}[\-\*]', 'listblock');
29 $this->Lexer->addPattern('\n\t{1,}[\-\*]', 'listblock');
H A DPreformatted.php15 $this->Lexer->addPattern('\n ', 'preformatted');
16 $this->Lexer->addPattern('\n\t', 'preformatted');
H A DQuote.php31 $this->Lexer->addPattern('\n>{1,}', 'quote');
H A DTable.php32 $this->Lexer->addPattern('\n\^', 'table');
33 $this->Lexer->addPattern('\n\|', 'table');
34 $this->Lexer->addPattern('[\t ]*:::[\t ]*(?=[\|\^])', 'table');
35 $this->Lexer->addPattern('[\t ]+', 'table');
36 $this->Lexer->addPattern('\^', 'table');
37 $this->Lexer->addPattern('\|', 'table');