FWIW, the Law of Moses had essentially the same provision.
Deuteronomy 22.
Of course, they did have the stoning to death for faking virginity and such. I find it interesting that the bloody sheet be used as proof of virginity - I wonder how many "sluts" were stoned to death because their hymen detached from physical exercise/labor...