PSUBSCRIBE
PSUBSCRIBE pattern [pattern ...]
Subscribes the client to the given patterns.
Supported glob-style patterns:
-
h?llosubscribes tohello,halloandhxllo -
h*llosubscribes tohlloandheeeello -
h[ae]llosubscribes tohelloandhallo,but nothillo
Use \ to escape special characters if you want to match them verbatim.
© 2009–2020 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/psubscribe