match x: case [*foo.bar.baz]: pass