1<?php
2
3namespace dokuwiki\Parsing\ParserMode;
4
5/**
6 * Implements the 640x480 replacement
7 */
8class Multiplyentity extends AbstractMode
9{
10    /** @inheritdoc */
11    public function connectTo($mode)
12    {
13
14        $this->Lexer->addSpecialPattern(
15            '(?<=\b)(?:[1-9]|\d{2,})[xX]\d+(?=\b)',
16            $mode,
17            'multiplyentity'
18        );
19    }
20
21    /** @inheritdoc */
22    public function getSort()
23    {
24        return 270;
25    }
26}
27