add testcase to 02100_replaceRegexpAll_bug

This commit is contained in:
vdimir 2022-03-04 10:42:31 +00:00
parent 688493373f
commit 20478e9088
No known key found for this signature in database
GPG Key ID: 6EE4CE2BEDC51862
2 changed files with 3 additions and 0 deletions

View File

@ -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'