I am back-porting a VS2010 project to VS2005 (don’t ask why..). In VS2010 the following works just fine:
#include <regex>
But in VS2005 its a fatal error:
fatal error C1083: Cannot open include file: 'regex': No such file or directory
Any ideas?
EDIT: I should add that I am a C++ / VS newbie. If is simply not part of VS2005, I also welcome suggestions on what to use as a regex library.
Thanks!
There is no
<regex>in VS2005. That header is part of the new C++ standard features which are partially supprted by VS2010, but not supported at all by VS2005.However,
<regex>is based on boost.regex, which can be downloaded for Windows at boostpro.com