Any / Oneof patterns for SubgraphMatcher

I’m using the SubgraphMatcher, and I’d like to be able to create patterns for a set of nodes.
For example, matching a convolution → batch norm → activation function (where that could be a ReLU, GeLU, etc). I see there once were Any and Oneof patterns, but they were quickly reverted, and I don’t see any similar functionality. Is there another way to implement this sort of functionality?