[pcre-dev] PCRE2 10.30 released

Top Page

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


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

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


Philip Hazel