Skip to content

Wildcards supported

Compare
Choose a tag to compare
@hsaturn hsaturn released this 21 Nov 01:10
· 125 commits to main since this release

Wildcards are not supported (+ # $ and *)
+ and # are part of Mqtt specification and are supported
$ is also special and is supported (even if TinyBroker does not send any $SYS message)

* is not specified, but I could see that is was used so I decided to add this.
* can be see yet as may + (any number of levels) but also as any string
a/b/c/d matches a/*/d
house/living/temp* matches house/living/temp_1 and house/living/temp_2
house/room_*/temp matches house/room_1/temp and house/room_2/temp

But (yet)
house/*/temp* does not match house/living/temp