Azure / iotedgehubdev

IoT Edge Hub Dev Tool
Other
88 stars 31 forks source link

Use regex module for bind path matching #380

Closed marianan closed 2 years ago

marianan commented 2 years ago

Thanks to @glneo for root causing and implementing the fix for this issue.

Use regex module instead of re (https://pypi.org/project/regex/)

This is a solution for:

https://github.com/Azure/iotedgehubdev/issues/366 https://github.com/Azure/iotedgehubdev/issues/352 https://github.com/Azure/iotedgehubdev/issues/287

An alternative is https://github.com/Azure/iotedgehubdev/pull/340, but without this regex some Windows paths may not be recognized.