Regular and irregular patterns in semiarid vegetation