30 Oct
2002
30 Oct
'02
12:54 a.m.
Use boost::regex_grep. The boost::regex_search only finds the first match.
I'm trying to capture the sub-expressions in a fqdn (e.g., one.two.three.com.). One piece of Perl-speak for the expression is: "/ (\w+)\./g". I've been using boost_search and trying variations on "(?: (\\w+)\\.)+" but I can't seem to get all the sub-expressions into the match_results.
There's got to be a flag I've been overlooking. Any suggestion will be appreciated.