docs: def binary_regex(self):
          """Return the regex for the binary."""
          regex_base_name = (r'^%(BINARY_NAME)s(\s%(STUB_NEW)s\.%(LOCALE)s|' +
                             r'-.*\.%(LOCALE)s\.%(PLATFORM)s)')
          regex_suffix = {'android-api-9': r'\.%(EXT)s$',
                          'android-api-11': r'\.%(EXT)s$',
                          'android-api-15': r'\.%(EXT)s$',
                          'android-api-16': r'\.%(EXT)s$',
                          'android-x86': r'\.%(EXT)s$',
                          'linux': r'\.%(EXT)s$',
                          'linux64': r'\.%(EXT)s$',
                          'mac': r'\.%(EXT)s$',
                          'mac64': r'\.%(EXT)s$',
                          'win32': r'(\.installer%(STUB)s)?\.%(EXT)s$',
                          'win64': r'(\.installer%(STUB)s)?\.%(EXT)s$'}
          regex = regex_base_name + regex_suffix[self.platform]
  
          return regex % {'BINARY_NAME': APPLICATIONS_TO_BINARY_NAME.get(self.application,
                                                                         self.application),
                          'LOCALE': self.locale,
                          'PLATFORM': self.platform_regex,
                          'EXT': self.extension,
                          'STUB': '-stub' if self.is_stub_installer else '',
                          'STUB_NEW': 'Installer' if self.is_stub_installer else ''}