We should use `std::string::npos` instead of `-1` here.