2 Mar
2005
2 Mar
'05
10:59 a.m.
boost::wregex ee(L"[E|e],(\\w+),(.+)$"); boost::wcmatch mr; TString value=L"some char"; if (boost::regex_match(value, mr, ee)) { ... }
Those code compiled with UNICODE and was ok on vc6.0. But when I compile with VC71, it gives me error c2664:
With VC7.1 basic_string::const_iterator is no longer a pointer type, so wcmatch is the wrong typedef to use: use wsmatch instead (you should have been using it before, it's just that your code compiled "by accident" with VC6). John.