mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix misleading, bad and wrong documentation.
This commit is contained in:
parent
2ee6f1484c
commit
d341ec8c3d
@ -89,7 +89,7 @@ SELECT replaceRegexpAll('Hello, World!', '^', 'here: ') AS res
|
||||
|
||||
The function adds a backslash before some predefined characters in the string.
|
||||
Predefined characters: `\0`, `\\`, `|`, `(`, `)`, `^`, `$`, `.`, `[`, `]`, `?`, `*`, `+`, `{`, `:`, `-`.
|
||||
This implementation slightly differs from re2::RE2::QuoteMeta. It escapes zero byte as \\0 instead of 00 and it escapes only required characters.
|
||||
This implementation slightly differs from re2::RE2::QuoteMeta. It escapes zero byte as `\0` instead of `\x00` and it escapes only required characters.
|
||||
For more information, see the link: [RE2](https://github.com/google/re2/blob/master/re2/re2.cc#L473)
|
||||
|
||||
[Original article](https://clickhouse.tech/docs/en/query_language/functions/string_replace_functions/) <!--hide-->
|
||||
|
Loading…
Reference in New Issue
Block a user