Skip to content

Conversation

@aangerma
Copy link
Contributor

@aangerma aangerma commented Jun 15, 2021

Fixed the regex that parses the version
Tracked on: DSO-17194

constexpr int MINIMAL_MATCH_SECTIONS = 4;
constexpr int MATCH_SECTIONS_INC_BUILD_NUM = 5;
std::regex rgx("^(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})(\\.\\d{1,5})?$");
std::regex rgx("^(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,5})?$");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build number is optional -- and therefore so is the period before it... so I don't understand.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@ev-mp ev-mp changed the title Fix for DSO-17194 - FW build version is not displayed. Fןס FW build version is not displayed Jun 15, 2021
@ev-mp ev-mp changed the title Fןס FW build version is not displayed Fix FW build version is not displayed Jun 15, 2021
@maloel maloel merged commit 8cdc466 into realsenseai:development Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants