protected function parseCustomAliases($text)
	{
		if (empty($this->config['customRegexp']))
		{
			return;
		}

		$matchPos = 0;
		if (isset($this->config['customQuickMatch']))
		{
			$matchPos = strpos($text, $this->config['customQuickMatch']);
			if ($matchPos === false)
			{
				return;
			}
		}

		preg_match_all($this->config['customRegexp'], $text, $matches, PREG_OFFSET_CAPTURE, $matchPos);
		foreach ($matches[0] as list($alias, $tagPos))
		{
			if (isset($this->parser->registeredVars['Emoji.aliases'][$alias]))
			{
				$hex = $this->getHexSequence($this->parser->registeredVars['Emoji.aliases'][$alias]);
				$this->addTag($tagPos, strlen($alias), $hex);
			}
		}
	}