There is code in src/json-validator.cpp that enables the Boost regex library to be used instead of the std::regex library via a cpp option. However there is std::regex code in src/string-format-check.cpp and there is no option to use Boost regex. This PR adds the option of using Boost regex for that file as well.
There is code in src/json-validator.cpp that enables the Boost regex library to be used instead of the std::regex library via a cpp option. However there is std::regex code in src/string-format-check.cpp and there is no option to use Boost regex. This PR adds the option of using Boost regex for that file as well.