q4: Switched to boost::regex, and changed a regex flag

std::regex seems to have major issues.