
29 Apr
2010
29 Apr
'10
8:13 p.m.
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_0\boost\regex\v4\regex_raw_buffer.hpp(177) error C2059: syntax error : '*' ..\boost_1_35_0\boost\regex\v4 \perl_matcher_non_recursive.hpp 99 Need your help to fix this. Thanks