Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FW build version is not displayed #9228

Merged
merged 2 commits into from
Jun 16, 2021

Conversation

aangerma
Copy link
Contributor

@aangerma aangerma commented Jun 15, 2021

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

@@ -44,7 +44,7 @@ namespace rs2
{
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
Collaborator

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 IntelRealSense: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