paho.mqtt.python icon indicating copy to clipboard operation
paho.mqtt.python copied to clipboard

Validator Function

Open sfphh4 opened this issue 3 years ago • 0 comments

I am looking for a validator function for topic. I have a bunch of strings and I need to check if the strings are a valid mqtt topic or not.

What is the best way to achieve this?

I do not want to use regex to do this, and am hoping to use some function in the library already implemented to achieve this.

sfphh4 avatar Feb 11 '22 21:02 sfphh4