to be sorry, to regret
The preposition is part of the word. Without it the answer is wrong in ripiti: pentirsi di, not pentirsi.
Remember pentirsi di for good. ripiti brings the word back just before you forget it, with these sentences. Free, no account needed, works offline.
practise pentirsi di in ripiti