Fix <regex> test case.

This commit is contained in:
jzmaddock
2014-05-28 18:45:37 +01:00
parent 658e372ef6
commit d52482247c

View File

@ -20,7 +20,7 @@ int test()
using std::wregex;
regex e("\\d+");
wregex we(L"\\s+");
wregex we(L"\\d+");
std::string s("123456");
std::wstring ws(L"123456");
return regex_match(s, e) && regex_match(ws, we) ? 0 : 1;