def _translate_short_name(self, short_name):
        """Translates an ISP shortname into a regex that matches all company names
        that are part of the ISP.

        Args:
            short_name (str): A short name for an ISP, such as 'twc' for Time
                Warner Cable.

        Returns:
            str: A regex string that matches company names that are part of the
            specified ISP. For example, level3 translates to:
                '(Level 3 Communications)|(GBLX)'
        """
        short_name_map = {
            'twc': ['Time Warner'],
            'centurylink': ['Qwest', 'Embarq', 'Centurylink', 'Centurytel'],
            'level3': ['Level 3 Communications', 'GBLX'],
            'cablevision': ['Cablevision Systems', 'CSC Holdings',
                            'Cablevision Infrastructure',
                            'Cablevision Corporate', 'Optimum Online',
                            'Optimum WiFi', 'Optimum Network']
        }
        if short_name_map in short_name:
            long_names = short_name_map[short_name]
            return self._regex_xor_names(long_names)

        return re.escape(short_name)
dataset/ETHPy150Open m-lab/telescope/telescope/iptranslation.py/IPTranslationStrategyMaxMind._translate_short_name/swapped operands of `in`