Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Easy-to-Use Regular Expression Support in C++? [closed]

Tags:

c++

regex

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


try libpcre

If you're stuck on windows they have a windows port which should work. I know e-texteditor uses it, so at least that's proof it works :-)


If you use Visual Studio you can use Visual C++ 2008 Feature Pack Release, this implements some of TR1, and includes regular expression parsing. Get it


Qt has also a nice Regular Expression implementation QRegExp. It is also platform independent.


The GNU C Library supports regular expressions. It's open, and the RE code seems to be easily extractable.