On Tue, 2014-07-08 at 10:46 +0200, Andreas Lauser wrote: > > On 2014-07-07 17:14, Bård Skaflestad wrote: > > > Just for the record, std::regex appears to be available on GCC 4.7 > > > too. I don't know how complete that support is, though. > > > > std::regex is in GCC 4.6.3, too, sort of. > > sort of, right ;)
True. I haven't been able to dig up an official reference to <regex> in the GCC documentation until GCC 4.9. > We now get a test failure in opm-parser because of this on Arne's machine, I too get a failure in "runIntegrationTests". The direct cause of the failure is line 123 of runIntegrationTest.cpp, > // user defined quantity. (regex needs to be used.) > BOOST_CHECK(parser->canParseDeckKeyword("WUFOO")); I don't know what regular expression this is supposed to match. And as for grammars, you can select those--options being Perl 5, basic, and extended for Boost.Regex and ECMA, basic, extended, grep, egrep, and awk for std::. None of the std:: options match Roland's pattern though. Bård _______________________________________________ Opm mailing list Opm@opm-project.org http://www.opm-project.org/mailman/listinfo/opm