Lexer->addEntryPattern('{nodisp.*?}(?=.*?{/nodisp})',$mode,'plugin_nodisp_normal'); } function postConnect() { $this->Lexer->addExitPattern('{/nodisp}','plugin_nodisp_normal'); } }