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

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  11 Apr 2009 18:57
  • Rrelease-after

    Changes: A number of bugs and untidinesses have been fixed. One or two small functional additions have been made, including the ability to set UTF-8 mode from within the pattern.

    • Rrelease-mid
    •  05 Sep 2008 17:48
    • Rrelease-after

    Changes: The minor security fix in this release is an overrun for certain patterns. Other bugs are also fixed. There is a performance enhancement for Unicode character property tests.

    • Rrelease-mid
    •  07 May 2008 11:09
    • Rrelease-after

    Changes: Mostly bugfixes. Some extra options have been added to pcregrep, and there is additional Oniguruma and JavaScript compatibility.

    • Rrelease-mid
    •  28 Jan 2008 09:32
    • Rrelease-after

    Changes: This release fixes a bug that caused a memory overrun if, in UTF-8 mode, a character class with a very large number of non-ASCII characters was supplied. There are a couple of minor cleanups in the C++ code. The pcredemo demonstration program is no longer built automatically. The only other significant change is some maintenance work on the CMake build files, to bring them up-to-date with the latest PCRE features.

    • Rrelease-mid
    •  10 Jan 2008 09:59
    • Rrelease-after

    Changes: Several bugs in the basic library have been fixed. The ability to link pcregrep with libz and/or libbz2, and the ability to link pcretest with libreadline, have been added.

    Rss Recent comments

    Rcomment-before 11 Jan 2005 04:52 Rcomment-trans mr700 Rcomment-after

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

    Are bugs like RH bug #133891 (http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133891), PHP bug #24460 (http://bugs.php.net/bug.php?id=24460), PHP bug #26171 (http://bugs.php.net/bug.php?id=26171) and PHP bug #27070 (http://bugs.php.net/bug.php?id=27070) 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 (http://bugs.php.net/bug.php?id=24460)).

    Rcomment-before 16 Sep 2004 10:51 Rcomment-trans aldem Rcomment-after

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

    Many thanks :)

    179888de4fec47c6c6a7d97da0886449_thumb

    Project Spotlight

    Omnitux

    An educational game based on multimedia elements.

    No-screenshot

    Project Spotlight

    Vortex Library

    A "BEEP Core" protocol implementation.