Regularity of languages defined by formal series with isolated cut point