# `Kombu.Transport.Virtual.Exchange.Topic`
[🔗](https://github.com/hacktobeer/kombu/blob/v0.1.0/lib/kombu/transport/virtual/exchange.ex#L44)

Topic exchange routing based on dot-separated words with `*` and `#` wildcards.

# `key_to_pattern`

```elixir
@spec key_to_pattern(String.t()) :: String.t()
```

Converts a topic routing key (containing `.`, `*`, `#`) into a regex pattern string `^...$`.
Matches `kombu.transport.virtual.exchange.TopicExchange.key_to_pattern`.

# `lookup`

# `matches_pattern?`

```elixir
@spec matches_pattern?(String.t(), String.t()) :: boolean()
```

Matches `string` against regex `pattern`.

# `prepare_bind`

# `type`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
