
29 Dec
2010
29 Dec
'10
12:19 p.m.
How do i using Boost::Regex or standard C++ to get all the URLs from a given string.... For example... i want to write a function that is....
But this code doesnt work.... I am not sure how to use Boost::Regex to solve it....
There's actually an example for just this use case in the regex_token_iterator docs (look towards the bottom): http://www.boost.org/doc/libs/1_45_0/libs/regex/doc/html/boost_regex/ref/reg... Does this give you what you need? John.