ClickHouse/tests/queries/0_stateless/01866_split_by_regexp.sql

6 lines
308 B
MySQL
Raw Normal View History

2021-05-13 09:21:00 +00:00
select splitByRegexp('\\d+', x) from (select arrayJoin(['a1ba5ba8b', 'a11ba5689ba891011b']) x);
2021-05-13 02:37:09 +00:00
select splitByRegexp('', 'abcde');
select splitByRegexp('<[^<>]*>', x) from (select arrayJoin(['<h1>hello<h2>world</h2></h1>', 'gbye<split>bug']) x);
select splitByRegexp('ab', '');
2021-05-13 09:21:00 +00:00
select splitByRegexp('', '');