PCRE - Perl Compatible Regular Expressions
来源:互联网 发布:心神战机击落歼20 知乎 编辑:程序博客网 时间:2024/06/05 16:45
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 proprietary software.
PCRE was originally written for the Exim MTA, but is now used by many high-profile open source projects, includingApache, PHP, KDE, Postfix, Analog, and Nmap. PCRE has also found its way into some well known commercial products, likeApple Safari. Some other interesting projects using PCRE includeChicken,Ferite, Onyx, Hypermail,Leafnode, Askemos, and Wenlin.
Download
The latest release of the PCRE library is 8.35. You can download it from its official home via anonymous FTP:
- ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
You can also download via HTTP from the mirror at SourceForge:
- https://sourceforge.net/projects/pcre/files/pcre/
You can check out the PCRE source code via Subversion:
svn co svn://vcs.exim.org/pcre/code/trunk pcre
You can also browse the PCRE source code and revision history on-line.
A precompiled Windows port of PCRE, which may be a few versions behind, is available courtesy theGnuWin32 project.
- http://gnuwin32.sourceforge.net/packages/pcre.htm
If you just need the command-line PCRE tools on Windows, more up to date precompiled binary versions are available here:
- http://www.rexegg.com/pcregrep-pcretest.html
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 LICENCE. If you are upgrading, read the NEWS and ChangeLog files.
Details on PCRE, and, in particular, comparisons to Perl's regular expression semantics, can also be found in the community authoredWikipedia entry on PCRE.
Contact
To report a problem with the PCRE library, or to make a feature request, pleasefile a bug in the PCRE bug repository. You may want tobrowse currently open PCRE bugs first. Please don't use the SourceForge bug tracking system, as it is not normally monitored.
There is a mailing list for active PCRE developers at pcre-dev@exim.org, and you can browse the mailing list archives on-line.
The PCRE library was written by Philip Hazel:
E-mail local part: ph10E-mail domain: cam.ac.ukPlease note that neither this website nor the SourceForge download repositories are maintained by Philip. Please report website or SourceForge PCRE project problems towebmaster@pcre.org.
Last modified April 8, 2014 - webmaster@pcre.org
- PCRE - Perl Compatible Regular Expressions
- PCRE - Perl Compatible Regular Expressions
- PCRE - Perl-compatible regular expressions
- PCRE - Perl Compatible Regular Expressions
- 在Ubuntu或者Debian中安装PCRE库( Perl 5 Compatible Regular Expression Library )
- PERL Regular Expressions
- Regular expressions in Perl
- Learning Perl: 7.1. What Are Regular Expressions?
- Learning Perl: 9.5. More Powerful Regular Expressions
- SAS Perl Regular Expression and SAS Regular Expressions (2)
- Regular Expressions
- Regular Expressions
- Regular Expressions
- Regular Expressions
- Regular Expressions
- regular-expressions
- Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .N
- Regular Expressions (1) ---- What is Regular Expressions?
- 我该如何动态分配多维数组?
- JavaFX -- 如何隐藏Tooltip右下角的翻页效果
- 浪涌的介绍
- 学习iOS开发之NSFileManager类和NSFileHandle类的使用
- Starting httpd: Warning: DocumentRoot does not exist
- PCRE - Perl Compatible Regular Expressions
- Django模型中的OneToOneField和ForeignKey有什么区别?
- 预览来电铃声,如何让背景音乐暂停播放
- flv录制开发遇到的一些问题总结
- Android自动测试之monkeyrunner工具(一)
- pulltorefresh修改背景
- 网页三维地图技术初探
- 互联网App的频繁心跳给移动运营商带来的网络压力
- Enum枚举类