1<?php
2
3namespace dokuwiki\Parsing\ParserMode;
4
5class Camelcaselink extends AbstractMode
6{
7
8    /** @inheritdoc */
9    public function connectTo($mode)
10    {
11        $this->Lexer->addSpecialPattern(
12            '\b[A-Z]+[a-z]+[A-Z][A-Za-z]*\b',
13            $mode,
14            'camelcaselink'
15        );
16    }
17
18    /** @inheritdoc */
19    public function getSort()
20    {
21        return 290;
22    }
23}
24