Convert MQTT wildcards to regexp