Simple Regular Expression Support in C++?
I'm seeking a durable, simple, normal expression critic for indigenous C++, either platform-independent or Windows-specific.
- Can not make use of Boost or ACE regex collections (however)
- Can not use.NET Regex (or any kind of took care of code)
The major need is that it needs to be standalone and also open.
Why do not you make use of Microsoft ATL is regex collection? Kenny Kerr has actually created a short article on that particular lately.
ATL consists of a light-weight normal expression execution. Although initially component of Visual C+npls, it is currently consisted of with the ATL Server download.
CAtlRegExpclass layout applies the parser and also matching engine. ...
The normal expression grammar is specified on top of the
I would certainly second the referral for PCRE. I have actually utilized it in C+npls tasks in Windows and also it functions wonderful. It is free, also for constructing business software program. It additionally applies something of a de facto typical normal expression language, which will certainly rate to your customers. PCRE is certainly Perl - suitable, and also Python additionally makes use of the very same collection.
The indigenous PCRE user interface is a little bit unpleasant and also really C - design, so it is possibly worth creating a wonderful C+npls wrapper around it. There is likely currently is one around, yet I'm not accustomed to any kind of.