If it was only his first regurge don't despair, my anery has had three. Give him time to relax and don't feed for 10 days. Check on him once or twice a day, or whatever the vets says. All animals have problems whether mammal or reptile, if you never want an animal without illness or injury than it requires a life without animals.
I've recently had to put down the most wonderful cat in the world after watching him age until he began to suffer when I decided his suffering needed to end. He lived a long life and I promised him a forever home, it was what he got. Keep your pets and understand that we all experience grief and sleepless nights wondering if everything we do is correct. Your snake seems strong and other snakes have survived when the situation appeared hopeless.