|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2006-06-18 21:48:22
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.
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