[pcre-dev] PCRE2 10.30 released

Top Page
Delete this message
Author: ph10
Date:  
To: pcre-dev, webmaster
Subject: [pcre-dev] PCRE2 10.30 released
I have just put the 10.30 tarballs in the usual place:

ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.30.tar.gz
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.30.tar.bz2
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.30.zip

This is a major new release.

The main interpreter, pcre2_match(), has been refactored into a new version
that does not use recursive function calls (and therefore the system stack) for
remembering backtracking positions. This makes --disable-stack-for-recursion a
NOOP. The new implementation allows backtracking into recursive group calls in
patterns, making it more compatible with Perl, and also fixes some other
previously hard-to-do issues. For patterns that have a lot of backtracking, the
heap is now used, and there is explicit limit on the amount, settable by
pcre2_set_heap_limit() or (*LIMIT_HEAP=xxx). The "recursion limit" is retained,
but is renamed as "depth limit" (though the old names remain for
compatibility) and it also limits heap usage, though indirectly. See the
documentation.

There are several other changes and new features. See NEWS and
ChangeLog.

Philip

--
Philip Hazel