Projects / PCRE

PCRE

The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5, with just a few differences. PCRE is used by many programs, including Exim, Postfix, and PHP.

Tags
Operating Systems
Implementation

RSS Recent releases

Release Notes: Support for 32-bit characters strings and UTF-32 has been added. Unicode compatibility has been improved for \X (it now matches extended grapheme clusters) and for characters such as Greek sigma that have more than one "other case". The Unicode tables are updated to 6.2.0. Matching using the JIT compiler has been sped up in some cases. There are some extensions to pcregrep and, as always, bugs have been fixed.

  •  06 Jul 2012 19:55

Release Notes: The changes for this release are mainly bugfixes, though there are one or two small additional features.

  •  04 Feb 2012 17:02

Release Notes: This release contains a major new feature, support for 16-bit character strings by means of a second library which can be compiled instead of, or as well as, the 8-bit library. Other changes are mainly bugfixes and tidies.

  •  12 Dec 2011 22:39

Release Notes: This is a bugfix release.

  •  21 Oct 2011 20:34

Release Notes: This release contains Zoltan Herczeg's just-in-time compiler, which can drastically improve matching performance at the cost of additional pattern analysis time. In addition to that major new feature, bugs have been mended and infelicities tidied up.

RSS Recent comments

11 Jan 2005 04:52 mr700

what about the recursion bug affecting php (probably all apps using pcre)

Are bugs like RH bug #133891 (bugzilla.redhat.com/bu...), PHP bug #24460 (bugs.php.net/bug.php?i...), PHP bug #26171 (bugs.php.net/bug.php?i...) and PHP bug #27070 (bugs.php.net/bug.php?i...) going to be addressed?

In short: with some match patterns and data from 1000 bytes pcre causes php (and probably others) to crash. The problem seems to be that "PCRE uses recursion to handle subpatterns and indefinite repetition" (from PHP bug #24460 (bugs.php.net/bug.php?i...)).

16 Sep 2004 10:51 aldem Thumbs up

WOW! Partial macthing rulez :)
Finally... You did it.. It took some time, though... :)

Many thanks :)

Screenshot

Project Spotlight

WAF-FLE

A console for ModSecurity.

Screenshot

Project Spotlight

uma::bson

A DOM-style C++ API for BSON.