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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
133 B
MySQL
Raw Normal View History

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