Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4233034
  • 博文数量: 176
  • 博客积分: 10059
  • 博客等级: 上将
  • 技术积分: 4681
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-24 12:27
文章分类

全部博文(176)

文章存档

2012年(1)

2011年(4)

2010年(14)

2009年(71)

2008年(103)

分类: C/C++

2009-09-04 10:08:13

C语言跨平台正则表达式分析器

PCRE - Perl Compatible Regular Expressions

转自:

The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. PCRE has its own native API, as well as a set of wrapper functions that correspond to the POSIX regular expression API. The PCRE library is free, even for building commercial software.

PCRE was originally written for the , but is now used by many high-profile open source projects, including , , , , , and Nmap. Some other interesting projects using PCRE include , , , , and .

Download

The latest release of the PCRE library is 6.4. You can download it from its official home via anonymous FTP, or via HTTP or FTP from .

Contributed source code, including C++ wrappers and sample Makefiles, is also available from the FTP site.

Finally, a precompiled Windows port of PCRE is available, courtesy the project.

Documentation

You can read the text version of the . For Perl 5 regular expression syntax, read the .

The distribution itself also contains a and the BSD . If you are upgrading, read the and files.


阅读(3620) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~