to have said it
You shouldn't have said it.
You shouldn't have said that.
Yo mismo no podría haberlo dicho mejor.
I couldn't have put it better myself.
Debiste haberlo dicho antes, hasta le había pedido que fuese mi maestro.
You should have said so sooner; I had even asked him to be my teacher.
— Ip Man (2008)
I don't remember saying that.