blob: 81c4bbafb0382df038ba15c95ae9f795875f5f5d (
plain)
1
2
3
4
5
6
7
8
9
|
Subscribes the client to the given patterns.
Supported glob-style patterns:
* `h?llo` subscribes to `hello`, `hallo` and `hxllo`
* `h*llo` subscribes to `hllo` and `heeeello`
* `h[ae]llo` subscribes to `hello` and `hallo,` but not `hillo`
Use `\` to escape special characters if you want to match them verbatim.
|