il n'avait pas
Tom said he wished that he hadn't tried to do that by himself.
Tom a dit qu’il regrettait d’avoir essayé de faire ça tout seul.
Tom said he wished he hadn't parked his car under that tree.
Tom a dit qu'il regrettait de s'être garé sous cet arbre.
He said that he hadn't entered the room, but that was a lie.
Il a dit qu’il n’était pas entré dans la pièce, mais c’était un mensonge.