Hi,

I have an issue in my current project, I wanted to compare the string like this

'Hello1' is the string to compare and in the vector I have following strings

myClass_v.push_back("Hello1");
myClass_v.push_back("Hello");
myClass_v.push_back("Hel");
myClass_v.push_back("Heldex");
myClass_v.push_back("ldex");
myClass_v.push_back("He");

Here, 'Hello1' is matching with 'Hello1'. after that reduce last char from Hello1, it will match with 'Hello', like that we have to reduce one by one char from last and find the match strings in a list. I would like to use stl::tr1::regex_search function. please tell me how to use this function for this requirements?