[zeromq-dev] regex matching for pub/sub

Martin Sustrik sustrik at 250bpm.com
Mon Nov 1 12:30:14 CET 2010


James,

> I am not sure if the subscribers support regex matching for filtering
> out the message. For example, the message has the address line:
> a;b;c. how can i specify the ZMQ_SUBSCRIBE for matching c.

No. The topics are supposed to form a hierarchy, where you subscribe to 
a subtree of the hierarchy. In other words, all the subscriptions are 
treated as if they have an * wildcard at the _end_.

Martin



More information about the zeromq-dev mailing list