Merge pull request #165 from andlaus/test_for_extended_std__regex

use extended regular expressions in the test for std::regex
This commit is contained in:
Bård Skaflestad 2014-07-08 13:40:22 +02:00
commit 263e337136

View File

@ -133,7 +133,7 @@ CHECK_CXX_SOURCE_RUNS("
#include <regex>
int main(void)
{
std::regex r(\"AB.*|BC+\");
std::regex r(\"AB.*|BC+\", std::regex::extended);
if (!std::regex_match(\"AB\", r))
return 1;
if (!std::regex_match(\"ABC\", r))