Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pcrebuild    ( 3 )

Perl-совместимые регулярные выражения (Perl-compatible regular expressions)

POSIX MALLOC USAGE

When the 8-bit library is called through the POSIX interface (see
       the pcreposix documentation), additional working storage is
       required for holding the pointers to capturing substrings,
       because PCRE requires three integers per substring, whereas the
       POSIX interface provides only two. If the number of expected
       substrings is small, the wrapper function uses space on the
       stack, because this is faster than using malloc() for each call.
       The default threshold above which the stack is no longer used is
       10; it can be changed by adding a setting such as

--with-posix-malloc-threshold=20

to the configure command.