Lexer->addSpecialPattern('~~NOTOC~~', $mode, 'notoc'); } /** @inheritdoc */ public function getSort() { return 30; } }