Fix for Clag compilers
Switched from std::regex to boost::regex because gcc regex support isn't complete.