未验证 提交 50b927a9 编写于 作者: A alexey-milovidov 提交者: GitHub

Update StringSearcher.h

上级 6d78e3be
......@@ -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};
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册