Re: [Boost-Users] Re: regex: flag for "global" search?
The boost::regex_search example bumps the start to march through the
sub-expressions and the boost::regex_grep examples demonstrate using the
'callback' for each term.
I was kinda hoping the library provided a "convenience version" that would
take something like "(\\w+)(?:\\.(\\w+))*" and populate the match_results
as if the terms had been expanded
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.
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
participants (1)
-
dick.bridges@tais.com