I don't imagine for one SECOND as she ran away from him she thought "A black man is wanting to rape me". She just thought "A man is wanting to rape me". End of.
No racism carried out at any point.
What a nasty, dumb, aggressive, predatory act this 'man' carried out. The language he used towards her (mysoginistic shit) and the continuation of the fake 'attack' after he'd already caught up with her and terrified her shows the utter low life abusive scum he really is.
If a man, any man, of any colour, chased me whilst grunting like a wild animal I'd be bloody petrified and assume they were very dangerous and possibly someone on drugs or with mental health problems and I'd be bloody petrified. It would be indescribably stupid to not assume that you were in immediate danger and to act based on the worst scenario that could happen in that situation. She must have been shaking like a leaf when she got inside her house.