1<?php
2
3namespace dokuwiki\Parsing\ParserMode;
4
5class Linebreak extends AbstractMode
6{
7    /** @inheritdoc */
8    public function connectTo($mode)
9    {
10        $this->Lexer->addSpecialPattern('\x5C{2}(?:[ \t]|(?=\n))', $mode, 'linebreak');
11    }
12
13    /** @inheritdoc */
14    public function getSort()
15    {
16        return 140;
17    }
18}
19