Search code examples
c++regexopen-source

Easy-to-Use Regular Expression Support in C++?


I'm looking for a robust, easy-to-use, regular expression evaluator for native C++, either platform-independent or Windows-specific.

Requirements:

  • Can't use Boost or ACE regex libraries (unfortunately)
  • Can't use .NET Regex (or any managed code)

The main requirement is that it should be standalone and open.


Solution

  • C++11 now includes the support of regular expressions. It will be platform independent. You just need a recent compiler. Check the following list to know which one to use.

    http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport

    Hope it helps