Student or Learner
Is this answer correct?
I regret speaking rudely to him.
I wish I did not speak rudely to him.
If those are answers, what were the questions?
Perhaps you mean 'Are these sentences correct?'
1. 'I regret speaking rudely to him' is fine, though some will insist on 'I regret having spoken rudely to him'.
2. This should be 'I wish I hadn't spoken rudely to him'.
It's possible to say 'I wish I did not speak rudely to him', but only if followed by something like '...every time I see him'.