Quantcast
Viewing all articles
Browse latest Browse all 11

C++11 Regular Expression

Syed Babu wrote:

Unable to understand the first one. Both r1 and r2 looks alike except  the paranthesis but paranthesis is used to define the
capture group. Then how the size differs?

Which part of the documentation is unclear?

http://msdn.microsoft.com/en-us/library/bb982517.aspx

match_results::size
The member function returns one more than the number of capture groups  in the regular expression that was used for the search.


Igor Tandetnik


Viewing all articles
Browse latest Browse all 11

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>