Replaced boost::regex with standard version.