def METHOD_NAME(self):
    if ',' in self.code:
        code = self.code.rsplit(',', 1)[0].strip(' ')
    else:
        code = self.code.strip(' ')
    pieces = code.split('..')
    def iter_piece():
        for piece in pieces:
            res = REGEX_SETTING_KEY.search(piece)
            if res:
                yield res.group(1)
            else:
                yield '(.*)'
    return repr(''.join(list(iter_piece())))