mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Update ASTFunction.cpp
This commit is contained in:
parent
021fc36064
commit
c6d9259e2a
@ -55,7 +55,7 @@ ASTPtr ASTFunction::clone() const
|
||||
|
||||
/** A special hack. If it's LIKE or NOT LIKE expression and the right hand side is a string literal,
|
||||
* we will highlight unescaped metacharacters % and _ in string literal for convenience.
|
||||
* Motivation: most people don't aware that _ is a metacharacter and forgot to properly escape it with two backslashes.
|
||||
* Motivation: most people are unaware that _ is a metacharacter and forgot to properly escape it with two backslashes.
|
||||
* With highlighting we make it clearly obvious.
|
||||
*
|
||||
* Another case is regexp match. Suppose the user types match(URL, 'www.yandex.ru'). It often means that the user is unaware that . is a metacharacter.
|
||||
|
Loading…
Reference in New Issue
Block a user