I'm trying to filter the contents of a vector of type string, based upon a regular expression.
NB: I'm using the boost::Regex library
So far, I've got the following
boost::regex r("[A-Z][A-Z]{3}<\\/t|[A-Z]{3}<\\/t|[A-Z\\.]{3}<\\/t");
for(int i = 0; i < vStream.size(); i++){
if(boost::regex_match(vStream[i],r))
cb->Append(vStream[i]); // cb is a combobox for my GUI
But this is returning an empty list. :(