1 |
.TH PCRE 3 |
.TH PCRE_CONFIG 3 |
2 |
.SH NAME |
.SH NAME |
3 |
PCRE - Perl-compatible regular expressions |
PCRE - Perl-compatible regular expressions |
4 |
.SH SYNOPSIS |
.SH SYNOPSIS |
8 |
.PP |
.PP |
9 |
.SM |
.SM |
10 |
.br |
.br |
11 |
.B int pcre_config(int \fIwhat\fR, void *\fIwhere\fR); |
.B int pcre_config(int \fIwhat\fP, void *\fIwhere\fP); |
12 |
|
. |
13 |
.SH DESCRIPTION |
.SH DESCRIPTION |
14 |
.rs |
.rs |
15 |
.sp |
.sp |
16 |
This function makes it possible for a client program to find out which optional |
This function makes it possible for a client program to find out which optional |
17 |
features are available in the version of the PCRE library it is using. Its |
features are available in the version of the PCRE library it is using. Its |
18 |
arguments are as follows: |
arguments are as follows: |
19 |
|
.sp |
20 |
\fIwhat\fR A code specifying what information is required |
\fIwhat\fR A code specifying what information is required |
21 |
\fIwhere\fR Points to where to put the data |
\fIwhere\fR Points to where to put the data |
22 |
|
.sp |
23 |
The available codes are: |
The available codes are: |
24 |
|
.sp |
25 |
PCRE_CONFIG_LINK_SIZE Internal link size: 2, 3, or 4 |
PCRE_CONFIG_LINK_SIZE Internal link size: 2, 3, or 4 |
26 |
PCRE_CONFIG_MATCH_LIMIT Internal resource limit |
PCRE_CONFIG_MATCH_LIMIT Internal resource limit |
27 |
PCRE_CONFIG_NEWLINE Value of the newline character |
PCRE_CONFIG_MATCH_LIMIT_RECURSION |
28 |
|
Internal recursion depth limit |
29 |
|
PCRE_CONFIG_NEWLINE Value of the newline sequence |
30 |
PCRE_CONFIG_POSIX_MALLOC_THRESHOLD |
PCRE_CONFIG_POSIX_MALLOC_THRESHOLD |
31 |
Threshold of return slots, above |
Threshold of return slots, above |
32 |
which \fBmalloc()\fR is used by |
which \fBmalloc()\fR is used by |
33 |
the POSIX API |
the POSIX API |
34 |
PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap) |
PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap) |
35 |
PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no) |
PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no) |
36 |
|
PCRE_CONFIG_UNICODE_PROPERTIES |
37 |
|
Availability of Unicode property support |
38 |
|
(1=yes 0=no) |
39 |
|
.sp |
40 |
The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise. |
The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise. |
41 |
|
.P |
42 |
There is a complete description of the PCRE native API in the |
There is a complete description of the PCRE native API in the |
43 |
.\" HREF |
.\" HREF |
44 |
\fBpcreapi\fR |
\fBpcreapi\fR |
45 |
.\" |
.\" |
46 |
page, and a description of the POSIX API in the |
page and a description of the POSIX API in the |
47 |
.\" HREF |
.\" HREF |
48 |
\fBpcreposix\fR |
\fBpcreposix\fR |
49 |
.\" |
.\" |