Confluent interview question

Wildcard Pattern matching like in regex