Diferent tipes of matches

I have to use 2 diferent tipes of matches, is there any condition avaible for it? like case.
Regards,
Fábio Santos.