dockerwiki/content/inc/Parsing/ParserMode/Multiplyentity.php
2021-10-26 13:02:53 +02:00

28 lines
451 B
PHP

<?php
namespace dokuwiki\Parsing\ParserMode;
/**
* Implements the 640x480 replacement
*/
class Multiplyentity extends AbstractMode
{
/** @inheritdoc */
public function connectTo($mode)
{
$this->Lexer->addSpecialPattern(
'(?<=\b)(?:[1-9]|\d{2,})[xX]\d+(?=\b)',
$mode,
'multiplyentity'
);
}
/** @inheritdoc */
public function getSort()
{
return 270;
}
}