Update StringSearcher.h

This commit is contained in:
alexey-milovidov 2019-08-23 19:08:27 +03:00 committed by GitHub
parent 6d78e3be94
commit 50b927a9d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -717,7 +717,7 @@ public:
{
if (std::any_of(reinterpret_cast<const UInt8 *>(needle_), reinterpret_cast<const UInt8 *>(needle_) + needle_size_, isTokenSeparator))
{
throw Exception{"needle must not contain whitespace characters", ErrorCodes::BAD_ARGUMENTS};
throw Exception{"Needle must not contain whitespace or separator characters", ErrorCodes::BAD_ARGUMENTS};
}
}