[a-z]+|#(?>[0-9]+|x[0-9a-f]+));/i'; /** * @var string Name of the tag used by this plugin */ protected $tagName = 'HE'; /** * {@inheritdoc} */ protected function setUp() { $tag = $this->configurator->tags->add($this->tagName); $tag->attributes->add($this->attrName); $tag->template = ''; } }