Re: [Boost-users] [Regex] Accessing match count

11 Mar
2010
11 Mar
'10
7:07 p.m.
Thanks Gevorg, that worked a treat. Actually, I don't really need the count as a string so this worked even better: return std::distance( boost::sregex_iterator( word.begin(), word.end(), expression ), boost::sregex_iterator() ); First time I've seen std::distance. Sigh, so much to learn ... :-) Mick
5578
Age (days ago)
5578
Last active (days ago)
0 comments
1 participants
participants (1)
-
nintiļ¼ internode.on.net