PCRE - Perl Compatible Regular Expressions

PCRE 是一组实现 Perl 5 兼容正则表达式的库函数,它使用相同的语法和语义。该库有自己的 API 和 POSIX 正则表达式 API 的包装器函数,并且是免费的,即使用于构建商业软件。PCRE 最初为 Exim MTA 编写,现在被多个高知名度的开源项目使用,包括 Apache、PHP、KDE 等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

PCRE - Perl Compatible Regular Expressions

转自:http://pcre.org/

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 Exim MTA, but is now used by many high-profile open source projects, including Apache, PHP, KDE, Postfix, Analog, and Nmap. Some other interesting projects using PCRE include Ferite, Onyx, Hypermail, Leafnode, and Askemos.

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

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 GnuWin32 project.

Documentation

You can read the text version of the PCRE man pages. For Perl 5 regular expression syntax, read the Perl regular expressions man page.

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

Author

The PCRE library was written by Philip Hazel:

E-mail local part: ph10
E-mail domain: cam.ac.uk


Last modified January 30, 2006 - webmaster@pcre.org

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值