Directions for this exercise is wrong


Look at my text please.
If I follow your directions it will be two names in hits array.
Not only mine. "Vladimir" will be also there. But without last character :smiley: (myName.length === 7 !="Vladimir".length)
The first character is same for both of names. It is "V".
Please fix up logic of your program's direction!

var text ="Hey! My name is Valeria.\
I have a boyfiend. He's\
name is Vladimir. We've \
been together sinse I was\
16. I had been studing at\
school when we met each\
other. We are great couple.";

var myName = "Valeria";


It is exactly the purpose of the exercise, to discover the flaw in the logic !!!!


Oh, I get it!