diff options
Diffstat (limited to 'test/std/re/re.alg/re.alg.match/awk.pass.cpp')
-rw-r--r-- | test/std/re/re.alg/re.alg.match/awk.pass.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/std/re/re.alg/re.alg.match/awk.pass.cpp b/test/std/re/re.alg/re.alg.match/awk.pass.cpp index a32b2ca0ae32..f866929795db 100644 --- a/test/std/re/re.alg/re.alg.match/awk.pass.cpp +++ b/test/std/re/re.alg/re.alg.match/awk.pass.cpp @@ -617,11 +617,12 @@ int main() } std::locale::global(std::locale(LOCALE_cs_CZ_ISO8859_2)); */ { + /* std::cmatch m; const char s[] = "m"; - /* assert(std::regex_match(s, m,*/ std::regex("[a[=M=]z]"/*, - std::regex_constants::awk*/);//)); -/* assert(m.size() == 1); + assert(std::regex_match(s, m, std::regex("[a[=M=]z]", + std::regex_constants::awk); + assert(m.size() == 1); assert(!m.prefix().matched); assert(m.prefix().first == s); assert(m.prefix().second == m[0].first); |