Subscription wildcards
mungosyme opened this issue · comments
Library does not seem to support subscription wildcards "#" or "+"
Hi Thomas,
Thanks for the reply and your work on the library.
"#" works at the top level but not at a sub level ie level1/#
many thanks
Barry
…On Thu, 30 Jul 2020 03:12:58 -0700 Thomas T. Jarløv ***@***.***> wrote:
'#' should work. See the test:
https://github.com/zevv/nmqtt/blob/a8e94a23a00f8aed6e72fc6c675a9d67d070ecfb/tests/subscribe.nim#L173
But you are right, '+' is not supported yet.
👍
Yeah, that part is not implemented yet.
You can add it here with a regex:
Lines 837 to 839 in a8e94a2
On Thu, 30 Jul 2020 04:33:06 -0700 Thomas T. Jarløv ***@***.***> wrote:
:+1:
Hi Thomas,
Thanks I will try that. Thanks again for all the time and effort that you have put into the library
Barry
…
Yeah, that part is not implemented yet.
You can add it here with a regex:
https://github.com/zevv/nmqtt/blob/a8e94a23a00f8aed6e72fc6c675a9d67d070ecfb/nmqtt.nim#L837-L839