sentence1: If anything had happened to Tommy he regretted it deeply, but he could do nothing.
sentence2: He would regret deeply if anything were to happen to Tommy, but he didn't really have any way to prevent it if it did.