You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
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 ?
The text was updated successfully, but these errors were encountered: