Hello to all, i want to search a container which copied from file with
certain regular expression and then display it to stdout;
Here is my code:
[code]
std::cout << "\n\nEnter Search designation : ";
std::string userDesignation;
getline(std::cin, userDesignation);
std::ifstream inHandle("C:\\Staff.txt");
std::vectorstd::string data;
data.reserve(100);
std::copy(std::istream_iteratorstd::string(inHandle),
std::istream_iteratorstd::string(),
std::back_inserter(data) );
boost::regex searchExpression(userDesignation);
boost::match_results