Subject: [Boost-users] problem with boost regex search
From: Guy LaCrosse (mlacrosse3_at_[hidden])
Date: 2009-02-23 15:44:25


hello,

When I enter the following reg-ex: "^.*ab+c+d+" for the following text:
"aaaabbbcccdddee" the text found is:"aaaabbbcccd". The text found should be:
"aaaabbbcccddd". Digging deeper, its seems that the reg-ex function ignores
the last character if it is a "+".

This is just using boost::regex_search with the flags = boost::match_any and
boost::match_not_null

Am I missing something here?