Pattern match with multiple match options

Thank you very much. I will be using this from now on.