1PCRE_CONFIG(3)             Library Functions Manual             PCRE_CONFIG(3)
2
3
4

NAME

6       PCRE - Perl-compatible regular expressions
7

SYNOPSIS

9
10       #include <pcre.h>
11
12       int pcre_config(int what, void *where);
13

DESCRIPTION

15
16       This  function makes it possible for a client program to find out which
17       optional features are available in the version of the PCRE  library  it
18       is using. Its arguments are as follows:
19
20         what     A code specifying what information is required
21         where    Points to where to put the data
22
23       The available codes are:
24
25         PCRE_CONFIG_LINK_SIZE     Internal link size: 2, 3, or 4
26         PCRE_CONFIG_MATCH_LIMIT   Internal resource limit
27         PCRE_CONFIG_MATCH_LIMIT_RECURSION
28                                   Internal recursion depth limit
29         PCRE_CONFIG_NEWLINE       Value of the newline sequence:
30                                       13 (0x000d)    for CR
31                                       10 (0x000a)    for LF
32                                     3338 (0x0d0a)    for CRLF
33                                       -2             for ANYCRLF
34                                       -1             for ANY
35         PCRE_CONFIG_POSIX_MALLOC_THRESHOLD
36                                   Threshold of return slots, above
37                                     which malloc() is used by
38                                     the POSIX API
39         PCRE_CONFIG_STACKRECURSE  Recursion implementation (1=stack 0=heap)
40         PCRE_CONFIG_UTF8          Availability of UTF-8 support (1=yes 0=no)
41         PCRE_CONFIG_UNICODE_PROPERTIES
42                                   Availability of Unicode property support
43                                     (1=yes 0=no)
44
45       The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise.
46
47       There  is  a complete description of the PCRE native API in the pcreapi
48       page and a description of the POSIX API in the pcreposix page.
49
50
51
52                                                                PCRE_CONFIG(3)
Impressum