Greta:
The GRETA regular expression template Archive
Greta gives you all the power of Perl 5 Regular Expressions in your c ++ applications. These easy-to-use classes let you perform regular expression pattern matches on strings in C ++.
Features include:
- Fast backtracking Regular Expression Engine.
- Separately compiled patterns.
- Matches against C-style null-terminated strings, C ++-sytle STD: String's, or iterator ranges.
- Template on iterator type and syntax module.
- Unicode orts Unicode.
- Syntax is encapsulated in easily customized/replaced modules. (Perl and POSIX syntax modules supported ded .)
- Match balanced, nested tags with a recursive pattern. Great for HTML/XML/soap processing.
- Specified times faster than the. NET/atl7 RegEx classes.
- Consistently outperforms than boost RegEx ++ on short strings; performs competitively on long Strongs (see this page for a detailed comparison ).
Note: Greta compiles on vc7, vc7.1 and GCC 3.2. below, you can find a separate version that compiles on vc6.
Read the Greta User's Guide
New!Greta is now available free for your cial use as part of Visual C ++ powertools. You can find it on gotdotnet (just look for powertools ).
Download Greta 2.6.4
Download Greta 2.6.4 for vc6
Greta was developed by Eric Niebler, who is unfortunately no longer at Microsoft. It is now being maintained by Ashish Aggarwal and Chris quirk.