added basic wildcard support for `on()`