28 Jun
2005
28 Jun
'05
9:37 p.m.
Hi: I was trying to write "Match everything *except* Bar". I wrote this: bool aResult = boost::regex_match(L"Foo", boost::wregex(L"[^(Bar)]")); This doesn't match. But if I wrote the same thing in Perl, it does work, ie: print "match\n" if( "Foo" =~ "[^(Bar)]"); It looks a lot like sets can't contain subexpressions in boost::regex ... is that really true? Is there some other way to write the same thing? Rob.