Not sure it is possible as "one-liner" command, but you can achieve
similar functionality by using "Is element exist" action.
So for first and second match command you need to use "Is element exist"
action and do some actions (like click etc) if element is found.
But you can also consider using other selectors besides MATCH, like CSS
or XPATH selector to define unique value that is always present and not
changeable on particular web page. Try maybe with xpath "Contains" selector,
which can check if given phrase is contained in expressin on web page.
Anyhow make sure to read wiki documentation regarding your case >
https://wiki.bablosoft.com/doku.php?id=how_to_search_for_element