From 296a19129b836263ed1c998b4b3a3b5754cd4b37 Mon Sep 17 00:00:00 2001 From: Arthur Passos Date: Tue, 10 Jan 2023 20:15:36 -0300 Subject: [PATCH] alphanumeric as key start --- src/Functions/keyvaluepair/src/impl/state/KeyStateHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functions/keyvaluepair/src/impl/state/KeyStateHandler.cpp b/src/Functions/keyvaluepair/src/impl/state/KeyStateHandler.cpp index d4b162236af..dbdfe099635 100644 --- a/src/Functions/keyvaluepair/src/impl/state/KeyStateHandler.cpp +++ b/src/Functions/keyvaluepair/src/impl/state/KeyStateHandler.cpp @@ -13,7 +13,7 @@ NextState KeyStateHandler::wait(const std::string & file, size_t pos) const while (pos < file.size()) { const auto current_character = file[pos]; - if (isalpha(current_character)) + if (isalnum(current_character)) { return {pos, State::READING_KEY}; }