|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2007-11-14 04:24:01
hallouina-ml_at_[hidden] wrote:
> Thanks for your answer, I think it's clear :
>
>
> So you mean that BOOST_REGEX_MATCH_EXTRA is made for matching for
> exemple somethingsomething in the string :
> "blablablasomethingsomethingblablabla".
>
>
>
> Is it right?
Not quite: but please see the docs for the complete explanation and
examples.
> In fact I want extract all the link from a webpage. I want to used the
> regex because this is faster than doing a DOM tree from the webpage.
See this example:
http://www.boost.org/libs/regex/example/snippets/regex_token_iterator_eg_2.cpp
Which does exactly that.
HTH, John.
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