Regular expressions in c++ STL

Posted by Radek Šimko on Stack Overflow See other posts from Stack Overflow or by Radek Šimko
Published on 2011-01-17T17:43:36Z Indexed on 2011/01/17 17:53 UTC
Read the original article Hit count: 205

Filed under:
|

Is there any native library in STL which is tested and works without any extra compiler options? I tried to use <regex>, but the compiler outputs this:

In file included from /usr/include/c++/4.3/regex:40, from main.cpp:5: /usr/include/c++/4.3/c++0x_warning.h:36:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.

© Stack Overflow or respective owner

Related posts about c++

Related posts about regex