PSUBSCRIBE
Syntax
PSUBSCRIBE pattern [pattern ...]
- Available since:
- 2.0.0
- Time complexity:
- O(N) where N is the number of patterns the client is already subscribed to.
- ACL categories:
-
@pubsub,@slow,
Subscribes the client to the given patterns.
Supported glob-style patterns:
h?llosubscribes tohello,halloandhxlloh*llosubscribes tohlloandheeeelloh[ae]llosubscribes tohelloandhallo,but nothillo
Use \ to escape special characters if you want to match them verbatim.