Selection matches pattern