mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
commit
263e337136
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user