minor doc update

This commit is contained in:
Arthur Passos 2023-04-17 11:20:03 -03:00
parent 3380c91206
commit c7d7df75f2
2 changed files with 3 additions and 1 deletions

View File

@ -1304,6 +1304,8 @@ Escape sequences supported: `\x`, `\N`, `\a`, `\b`, `\e`, `\f`, `\n`, `\r`, `\t`
Non standard escape sequences are returned as it is (including the backslash) unless they are one of the following:
`\\`, `'`, `"`, `backtick`, `/`, `=` or ASCII control characters (c <= 31).
Leading escape sequences will be skipped in keys and will be considered invalid for values.
**Escape sequences with escape sequence support turned on**
``` sql
arthur :) select extractKeyValuePairsWithEscaping('age:a\\x0A\\n\\0') as kv

View File

@ -303,7 +303,7 @@ private:
SearchSymbols read_quoted_needles;
/*
* Helper method to copy bytes until `character_pos` and process possible escape sequence. Returns number a pair containing a boolean
* Helper method to copy bytes until `character_pos` and process possible escape sequence. Returns a pair containing a boolean
* that indicates success and a std::size_t that contains the number of bytes read/ consumed.
* */
std::pair<bool, std::size_t> consumeWithEscapeSequence(std::string_view file, size_t start_pos, size_t character_pos, auto & output) const