hi, I have a regex that matches strings like:
wstring wstrTxt34 = L"5.2 miles from destination ";
const wregex distPat(L"\\s*\\d+\\.?\\d*\\s*miles from destination\\s*");
const wregex distPat2(L"\\s*\\d+\\.?\\d*\\s*miles\\s+(from destination)?\\s*");
m_strVIPSResult += CString(L"Distance");
however, the regexes cant match up with the string, and i cant find whats wrong with my regex. where went wrong, thx.
Please Mark it as answer, if it helps solve your problem.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?