ClickHouse/tests/queries/0_stateless/02751_match_constant_needle.sql

3 lines
133 B
SQL

select match('default/k8s1', '\\A(?:(?:[-0-9_a-z]+(?:\\.[-0-9_a-z]+)*)/k8s1)\\z');
select match('abc123', '[a-zA-Z]+(?P<num>\\d+)');