Home » Questions » Computers [ Ask a new question ]

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

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

"Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.












Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 5 years ago.





Improve this question





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."

Asked by: Guest | Views: 371
Total answers/comments: 4
Guest [Entry]

"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"
Guest [Entry]

"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 :-)"
Guest [Entry]

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
Guest [Entry]

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