mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
add testcase to 02100_replaceRegexpAll_bug
This commit is contained in:
parent
688493373f
commit
20478e9088
@ -9,3 +9,4 @@
|
||||
1
|
||||
1
|
||||
1
|
||||
1
|
||||
|
@ -12,3 +12,5 @@ SELECT '1,,' == replaceRegexpOne('1,,', '^[,]*|[,]*$', '') x;
|
||||
|
||||
SELECT '5935,5998,6014' == trim(BOTH ', ' FROM '5935,5998,6014, ') x;
|
||||
SELECT '5935,5998,6014' == replaceRegexpAll('5935,5998,6014, ', concat('^[', regexpQuoteMeta(', '), ']*|[', regexpQuoteMeta(', '), ']*$'), '') AS x;
|
||||
|
||||
SELECT trim(BOTH '"' FROM '2') == '2'
|
||||
|
Loading…
Reference in New Issue
Block a user