From 3ea737b31b901ca004338a9527d48b3085ce8662 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Wed, 27 Jul 2022 09:55:11 -0500 Subject: [PATCH] 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. --- src/App/Range.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Range.cpp b/src/App/Range.cpp index fba197b0eb..25d80f2ef9 100644 --- a/src/App/Range.cpp +++ b/src/App/Range.cpp @@ -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}")); } /**