def METHOD_NAME(self):
    new_elems = []
    for e in self.elems:
        match = re.search(ELEM_REGEX, e)
        new_numbers = []
        if match:
            numbers = match.group(2)
            for n in numbers.split():
                shifted_num = self.function_symbol_map[n]
                new_numbers.append(str(shifted_num))
        new_numbers_str = ' '.join(new_numbers)
        sub_func = lambda x: f'{x.group(1)}{new_numbers_str}{x.group(3)}'
        new_elems.append(re.sub(ELEM_REGEX, sub_func, e))
    self.elems = new_elems