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 | Software Development Libraries Text Processing |
|---|---|
| Operating Systems | OS Independent |
| Implementation | C |
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.


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


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.


Release Notes: This is a bugfix release.


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.
Recent comments
11 Jan 2005 04:52
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
WOW! Partial macthing rulez :)
Finally... You did it.. It took some time, though... :)
Many thanks :)