How to correctly use regular expressions from <regex> header in C++?

QuestionsHow to correctly use regular expressions from <regex> header in C++?
sethbeckerman5 Staff asked 4 years ago

I want to check version number eg 1.13.1 , 1.22.34 , 4.12.3 etc with regular expression using regex_match() from regex header.
I'm doing this way

But I am not getting it matched ? It seems the regular expression is correct


View on Stack Overflow