End Google Ads 201810 - BS.net 01 --> The following code returns isMatch true in VS 2008 not in VS 2010
CString strPattern = _T("(\\+|00)\\s*\\d{2}(\\s?\\d{3}){2}\\s?\\d{4}"); CString strValue = _T("0044 207 689 0000"); CT2CA pszFind(strPattern); const std::tr1::regex pattern(pszFind ,std::tr1::regex_constants::nosubs | std::tr1::regex_constants::ECMAScript); CT2CA pszData(strValue); std::string strSearch(pszData); isMatch = regex_search(strSearch.begin(), strSearch.end(), pattern);
Any idea why?
Thanks in advance