Skip to content
Snippets Groups Projects

[fix] #119 fix HEAD messages software version regexp to be compliant with the WS2Pv1 protocol

Merged [fix] #119 fix HEAD messages software version regexp to be compliant with the WS2Pv1 protocol
Merged Vincent Texier requested to merge #119 into dev
3 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -124,7 +124,7 @@ class HeadV1:
"({ws2pid}):({software}):({software_version}):({pow_prefix})(?::)?(.*)".format(
ws2pid=WS2PID_REGEX,
software="[A-Za-z-_]+",
software_version="[0-9]+[.][0-9]+[.][0-9]+",
software_version="[0-9]+[.][0-9]+[.][0-9]+[-\\w]*",
pow_prefix="[0-9]+",
)
)
Loading