support matching on different sets of expressions