Is it possible to use regular expressions as pattern for redis psubscribe?

3,112 views
Skip to first unread message

Alexey Zakharov

unread,
May 12, 2011, 2:10:38 AM5/12/11
to redi...@googlegroups.com
Is it possible to use regular expressions as pattern for redis psubscribe?

Pieter Noordhuis

unread,
May 12, 2011, 4:04:37 AM5/12/11
to redi...@googlegroups.com
That is not possible. Only globs in the pattern are checked for a match. Supported patterns are the same as used for the KEYS command, which is described here: http://redis.io/commands/keys

Cheers,
Pieter

On Thursday, May 12, 2011 at 8:10 AM, Alexey Zakharov wrote:

Is it possible to use regular expressions as pattern for redis psubscribe?

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To post to this group, send email to redi...@googlegroups.com.
To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.

Reply all
Reply to author
Forward
0 new messages