
22 May
2006
22 May
'06
1:06 a.m.
On 5/21/06, Christopher Hart <hartct@gmail.com> 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