Add pattern matching to event handling

Using mqtt style patterns to register to multiple topics using a ‘#’
character