boost::smatch matches;
recvFIFO = "This Was Last-Modified";
const boost::regex pattern("Last-Modified");
constbool found = boost::regex_match(recvFIFO, matches, pattern);
std::cout << "Modification date found : " << (found?"YES":"NO") << std::endl;
This doesn't seem to find the pattern in the string, but i don't see what i do differently than the examplesi found on the internet. I tried the code with boost or STL. recvFIFO is a std::string created earlier