GRETA: The GRETA Regular Expression Template Archive
2004-11-24 08:04
495 查看
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.
Supports Unicode.
Syntax is encapsulated in easily customized/replaced modules. (Perl and POSIX syntax modules included.)
Match balanced, nested tags with a recursive pattern. Great for HTML/XML/SOAP processing.
Many 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 commercial 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.
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.
Supports Unicode.
Syntax is encapsulated in easily customized/replaced modules. (Perl and POSIX syntax modules included.)
Match balanced, nested tags with a recursive pattern. Great for HTML/XML/SOAP processing.
Many 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 commercial 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.
相关文章推荐
- 什么是Perl?编程语言Perl详细介绍
- PHP扩展模块Pecl、Pear以及Perl的区别
- C++算法系列之日历生成的算法代码
- 输入输出流为什么要用缓冲区?
- 引用一个人的说法看中国软件需求基础
- JCreator Pro 3.0与WTK2.0配置心得
- 力争最简单把*、&说清楚
- Decal SDL-Delphi的范型类库-通用数据结构与算法类库(一)
- thinking in c++ 卷2
- thinking in c++卷2
- thinkng in c++卷2
- Thinking in C++ 卷2中文版
- BLOG开张,不知道该说些什么。
- WinPcap编程渐进教程(中文)
- Intermidiate EDI--FTP
- [转载]Altered delivery schedule for Windows XP SP2
- 也来谈Java集合框架
- 利用pre-compiled headers技术以加速编译速度--以Borland C++ Builder为例(四)
- 利用pre-compiled headers技术以加速编译速度--以Borland C++ Builder为例(二)