blob: f9af28c668aa45578caa44b24d0d778a0ad87192 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
namespace dokuwiki\Parsing\ParserMode;
class Emaillink extends AbstractMode
{
/** @inheritdoc */
public function connectTo($mode)
{
// pattern below is defined in inc/mail.php
$this->Lexer->addSpecialPattern('<'.PREG_PATTERN_VALID_EMAIL.'>', $mode, 'emaillink');
}
/** @inheritdoc */
public function getSort()
{
return 340;
}
}
|