mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
13 lines
466 B
MySQL
13 lines
466 B
MySQL
|
SELECT regexpQuoteMeta('hello');
|
||
|
SELECT regexpQuoteMeta('hel\\lo');
|
||
|
SELECT regexpQuoteMeta('h{ell}o');
|
||
|
SELECT regexpQuoteMeta('(h{ell}o)');
|
||
|
SELECT regexpQuoteMeta('');
|
||
|
SELECT regexpQuoteMeta('(');
|
||
|
SELECT regexpQuoteMeta('Hello(');
|
||
|
SELECT regexpQuoteMeta('(Hello');
|
||
|
SELECT regexpQuoteMeta('(((((((((');
|
||
|
SELECT regexpQuoteMeta('\\');
|
||
|
SELECT regexpQuoteMeta('\0\\|()^$.[?*+{');
|
||
|
SELECT DISTINCT regexpQuoteMeta(toString(number)) = toString(number) FROM numbers(100000);
|