Merge pull request #15 from MSOpenTech/winrt

Fixing failing test case boost_no_cxx11_hdr_regex.
This commit is contained in:
Noel Belcourt
2014-05-13 19:18:49 -06:00

View File

@ -1,5 +1,5 @@
// (C) Copyright Beman Dawes 2009
// Copyright (c) Microsoft Corporation
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@ -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;