code: def write(self, descrs):
          
          # example: '(poe-[\d\.]+):float32' -> 'poe-[\d\.]+'
          names = []
          for descr in descrs:
              mo = re.match(self.long_regex, descr)
              if mo:
                  names.append(mo.group(mo.lastindex) + descr[mo.end():])
              else:
                  names.append(descr)
          return names
docs: Convert descriptions into names