Lines Matching refs:Lexer
75 … $this->Lexer->addEntryPattern( '(?<!\\\\)\$(?=[^\$][^\r\n]*?\$)', $mode, 'plugin_katex_protect' );
76 $this->Lexer->addEntryPattern( '\$\$(?=.*?\$\$)', $mode, 'plugin_katex_protect' );
77 $this->Lexer->addEntryPattern( '\\\\\((?=.*?\\\\\))', $mode, 'plugin_katex_protect' );
78 $this->Lexer->addEntryPattern( '\\\\\[(?=.*?\\\\])', $mode, 'plugin_katex_protect' );
80 …$this->Lexer->addEntryPattern( '\\\\begin{' . $env . '}(?=.*?\\\\end{' . $env . '})', $mode, 'plug…
85 $this->Lexer->addEntryPattern( '`(?=.*?`)', $mode, 'plugin_katex_protect' );
94 …$this->Lexer->addEntryPattern( '<' . $tag . '.*?>(?=.*?</' . $tag . '>)', $mode, 'plugin_katex_pro…
100 $this->Lexer->addExitPattern( '\$(?!\$)', 'plugin_katex_protect' );
101 $this->Lexer->addExitPattern( '\\\\\)', 'plugin_katex_protect' );
102 $this->Lexer->addExitPattern( '\\\\\]', 'plugin_katex_protect' );
104 $this->Lexer->addExitPattern( '\\\\end{' . $env . '}', 'plugin_katex_protect' );
109 $this->Lexer->addExitPattern( '`', 'plugin_katex_protect' );
118 $this->Lexer->addExitPattern( '</' . $tag . '>', 'plugin_katex_protect' );