19 Jun
2006
19 Jun
'06
1:48 a.m.
Andriy Tylychko (mail.ru) wrote:
boost::regex_search(content, m, expression, boost::match_partial);
detects it. But
boost::regex_search(content, m, expression, boost::match_partial | boost::match_any);
doesn't detect it. I expected that boost::match_any doesn't affect the main result (found or not), but just can return different sub-results (where and what found). Can you please explain where I'm wrong?
Works for me with current cvs (effectively 1.34), and I don't remember fixing a related bug, so <shrug> I guess ? BTW match_any doesn't really have any positive effect any more, so I suggest you just drop it's useage. HTH, John.