I read that the man was made to marry the woman and look after her.
"Still have it" = certainly not. The Law was given to Israel.
BUT, regardless, this has no simple answer...
Keep in mind, what we have in the OT was not absolutely all the ins and outs of the law.
The issues are very convoluted and require an understanding of culture (I won't speak for Afghanistan).
It requires understanding that virginity was a very important asset of a marriageable girl within Israel.
Without it, then the chances of her being married and looked after are unlikely.
She could possibly even be taken advantage of further by others or shunned as an adulterous.
I wouldn't want to be in such shoes. There's really no good outcome.
BUT, to protect the woman from further social abuses and essentially no life, the rapist was required to pay a hefty bride-price (about 5 years standard wage).
He was then obligated to look after the woman "
all his days". In marriage, the man is to protect the woman.
Malachi 2:16 says, "
The man who hates and divorces his wife… does violence to the one he should protect."
Thus, there would be other rules in place should the husband be abusive.
How it panned out in reality, in such a paternalistic culture, well I wouldn't like to be such a woman.
I doubt realistically women had much protection at all, only because I don't have much faith in people to do the right thing.
We have laws in our society, but at the end of the day those within the society need to stand up to help.
If there were people in society who stood up for such women, then great. I just can't picture it.
So again, this is not a clean issue. Issues involving sin committed against others rarely have a fair result.
What is done can't be undone, however it is rather a pragmatic approach to ensure the victim is compensated and looked after as much as possible.
I suppose "law" is quite cut and dry and impersonal in that manner. It's meant to try make right as much as possible what can't be undone.
I'm sure the woman would have to have some say. To be clear, it was the rapist being forced to marry and look after the woman all his days.
Notably, the father could refuse the marriage. (Exodus 22:16-17) And as marriage is seen as a covenant, I really can't see the woman having no say.
I'd recommend reading over
http://christianthinktank.com/virginity.html to get a better understanding of what is being dealt with.
Then, the reasoning behind it, however distasteful such a situation still is, at least becomes a little understandable.