find slot value for different pattern types