Original Post
okay im upgrading my project from vc2005 to vc2008 and my app works fine in debug mode, but now in release mode i get a crash. i've tracked it down to some code like this: the crash is in 'regex_search' now the weird thing is, i copied this code in to the main project, and it worked, but still continues to crash in this code that is in a seperate project (which compiles to a lib). any thoughts? the call stack ends up in: _invalid_parameter_noinfo called from from boost::match_results by the way my boost libs were compiled in vc2005
cmatch match;
regex expression("\\(([^\\)]*)\\)");
char* line = "[game]";
if (regex_search(line, match, expression))
{
...