fix boost::regex usage
turns out that boost::regex("foo") should be used instead of boost::regex::basic_regex
This commit is contained in:
parent
f6689d838e
commit
e2eca64f59
@ -508,7 +508,7 @@ namespace Opm {
|
||||
|
||||
void ParserKeyword::setMatchRegex(const std::string& deckNameRegexp) {
|
||||
try {
|
||||
m_matchRegex = boost::regex::basic_regex<std::string::value_type>(deckNameRegexp);
|
||||
m_matchRegex = boost::regex(deckNameRegexp);
|
||||
m_matchRegexString = deckNameRegexp;
|
||||
}
|
||||
catch (const boost::bad_expression &e) {
|
||||
|
Loading…
Reference in New Issue
Block a user