PSUBSCRIBE pattern [pattern ...]
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.
© 2009–2017 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/psubscribe