Switch to Boost regex
In some circumstances Boost regex is substantially faster than std::regex, so we currently standardize on using Boost. This also fixes a compilation error on Windows, since std::regex is not included in our precompiled headers.
This commit is contained in:
@@ -197,7 +197,7 @@ int App::validRow(const std::string &rowstr)
|
||||
|
||||
bool App::validColumn( const std::string &colstr )
|
||||
{
|
||||
return std::regex_match(colstr, std::regex("[A-Z]{1,3}" ));
|
||||
return boost::regex_match(colstr, boost::regex("[A-Z]{1,3}"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user