stephenhouser / node-red-contrib-flexradio

NodeRed nodes for working with FlexRadio 6xxx series software defined radios
Other
9 stars 3 forks source link

Use regex to specify topic patterns in addition to MQTT topic syntax #15

Closed stephenhouser closed 3 years ago

stephenhouser commented 3 years ago

I would like to be able to use JavaScript RegEx patterns for specifying message and meter topics so that I can be consistent in my patterns throughout my flows.

While the MQTT-topics are useful and match the MQTT nodes well, many of the built-in NodeRed nodes use JavaScript regular expression syntax for filtering, selecting, and matching. It would be nice to have an option to use either MQTT or JavaScript regular expressions for topic matching.