Lattice regularization and symmetries