such as:
cmatch reMatch;
regex reg("T.*d");
bool ret = regex_match("The car parked in the garage.", reMatch, reg);
if (ret)
{
for (auto index = 1; index < reMatch.size(); ++index)
{
cout << index << " : " << reMatch[index].str() << endl;
}
}
why the ret is false ?