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