One who commits a sin and regrets it is forgiven for all his sins.
Sefer HaMidos, Repentance, Part I §26