Hi,

I have a simple pattern matching console based program something like below:

#include
void example()
{
...
boost::regex pattern("[a-zA-Z]");

if (boost::regex_match(line, pattern)){...}
...
}
While compiling this program in VS2008, I get following error:
error C2661: 'operator new' : no overloaded function takes 3 arguments
..boost_1_35_0boostregexv4regex_raw_buffer.hpp(177)
error C2059: syntax error : '*' ..boost_1_35_0boostregexv4
perl_matcher_non_recursive.hpp 99

Need your help to fix this.

Thanks