Approximability of sliding modes and regularization