|
Boost Users : |
From: Edward Diener (eddielee_at_[hidden])
Date: 2002-10-29 19:54:32
Use boost::regex_grep. The boost::regex_search only finds the first match.
<dick.bridges_at_[hidden]> wrote in message
news:OF6181960C.1A0F5C63-ON88256C61.006996C6_at_tais.net...
> 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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net