switched to boost::regex