Temporarily switch to boost::regex
In combination with musl, parser crashed. glibc fine. Could not pinpoint down the exact reason mainly due to time constraints. Strange, in both cases actually libstdc++ is used, so this is very odd.
This commit is contained in:
3
utils.h
3
utils.h
@ -8,6 +8,7 @@
|
||||
#include <map>
|
||||
#include <regex>
|
||||
#include <ctime>
|
||||
#include <boost/regex.hpp>
|
||||
namespace utils
|
||||
{
|
||||
|
||||
@ -61,7 +62,7 @@ namespace utils
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string regex_callback_replacer(std::regex regex, const std::string &input, std::function<std::string(std::smatch&)> callback );
|
||||
std::string regex_callback_replacer(boost::regex regex, const std::string &input, std::function<std::string(boost::smatch&) > callback);
|
||||
|
||||
std::string readCompleteFile(std::string_view filepath);
|
||||
|
||||
|
Reference in New Issue
Block a user