|
Boost Users : |
From: Dale McCoy (dalestan_at_[hidden])
Date: 2006-05-21 21:06:39
On 5/21/06, Christopher Hart <hartct_at_[hidden]> wrote:
> void find_matches(const std::string& regx, const std::string& text)
> <snip>
> ... invoked by:
>
> find_matches(html, "<p class=\"priceBest\"><a href=(.*?)>");
The arguments here do not seem to agree with the formal parameter
names. Did you inadvertently reverse them?
I'm also wondering about that ".*?"; my limited experience with
regexing has taught me never to follow a . with a *. But I'll leave
further discussion on that to someone who has used boost::regex.
Dale
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