protected function getAliasesConfig()
	{
		$config = [];

		// Prepare a regexp for aliases that don't fit the shortname style
		$custom = $this->getCustomAliases();
		if (!empty($custom))
		{
			$regexp                 = '/' . RegexpBuilder::fromList($custom) . '/';
			$config['customRegexp'] = new Regexp($regexp, true);

			$quickMatch = ConfigHelper::generateQuickMatchFromList($custom);
			if ($quickMatch !== false)
			{
				$config['customQuickMatch'] = $quickMatch;
			}
		}

		return $config;
	}