def foreach_operator():
    for node in NodeIterator():
        if (str(node) == '-'):
            if (node.last and (str(node.last)[(- 1)].lower() == 'e') and (str(node.last)[(- 2)] in [str(x) for x in range(10)])):
                continue
            pntype = get_forward_type_for_negative(node)
            if (not (pntype in [NodeType.WORD, NodeType.REVERSE_BRACKET, NodeType.STRING])):
                delete_backward_blank(node)
                continue
        if (node.type == NodeType.OPERATOR):
            delete_forward_blank(node)
            delete_backward_blank(node)
            if _settings.get('special_symbol_split'):
                if (node.last and (node.last.type is not NodeType.BLANK)):
                    insert_blank_node(node)
                if (node.next and (node.next.type is not NodeType.BLANK)):
                    insert_blank_node(node.next)
def foreach_operator():
    for node in NodeIterator():
        if (str(node) == '-'):
            if (node.last and (str(node.last)[(- 1)].lower() == 'e') and (str(node.last)[(- 2)] in [str(x) for x in range(10)])):
                continue
            pntype = get_forward_type_for_negative(node)
            if (not (pntype in [NodeType.WORD, NodeType.REVERSE_BRACKET, NodeType.STRING])):
                delete_backward_blank(node)
                continue
        if (node.type == NodeType.OPERATOR):
            delete_forward_blank(node)
            delete_backward_blank(node)
            if _settings.get('special_symbol_split'):
                if (node.last and (node.last.type is not NodeType.BLANK)):
                    insert_blank_node(node)
                if (node.next and (node.next.type is not NodeType.BLANK)):
                    insert_blank_node(node.next)