Replaced boost::regex with std