7 |
.B #include <pcre.h> |
.B #include <pcre.h> |
8 |
.PP |
.PP |
9 |
.SM |
.SM |
|
.br |
|
10 |
.B int pcre_config(int \fIwhat\fP, void *\fIwhere\fP); |
.B int pcre_config(int \fIwhat\fP, void *\fIwhere\fP); |
11 |
. |
. |
12 |
.SH DESCRIPTION |
.SH DESCRIPTION |
16 |
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 |
17 |
arguments are as follows: |
arguments are as follows: |
18 |
.sp |
.sp |
19 |
\fIwhat\fR A code specifying what information is required |
\fIwhat\fP A code specifying what information is required |
20 |
\fIwhere\fR Points to where to put the data |
\fIwhere\fP Points to where to put the data |
21 |
.sp |
.sp |
22 |
The available codes are: |
The available codes are: |
23 |
.sp |
.sp |
25 |
PCRE_CONFIG_MATCH_LIMIT Internal resource limit |
PCRE_CONFIG_MATCH_LIMIT Internal resource limit |
26 |
PCRE_CONFIG_MATCH_LIMIT_RECURSION |
PCRE_CONFIG_MATCH_LIMIT_RECURSION |
27 |
Internal recursion depth limit |
Internal recursion depth limit |
28 |
PCRE_CONFIG_NEWLINE Value of the newline sequence: |
PCRE_CONFIG_NEWLINE Value of the default newline sequence: |
29 |
13 (0x000d) for CR |
13 (0x000d) for CR |
30 |
10 (0x000a) for LF |
10 (0x000a) for LF |
31 |
3338 (0x0d0a) for CRLF |
3338 (0x0d0a) for CRLF |
32 |
|
-2 for ANYCRLF |
33 |
-1 for ANY |
-1 for ANY |
34 |
|
PCRE_CONFIG_BSR Indicates what \eR matches by default: |
35 |
|
0 all Unicode line endings |
36 |
|
1 CR, LF, or CRLF only |
37 |
PCRE_CONFIG_POSIX_MALLOC_THRESHOLD |
PCRE_CONFIG_POSIX_MALLOC_THRESHOLD |
38 |
Threshold of return slots, above |
Threshold of return slots, above |
39 |
which \fBmalloc()\fR is used by |
which \fBmalloc()\fP is used by |
40 |
the POSIX API |
the POSIX API |
41 |
PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap) |
PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap) |
42 |
PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no) |
PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no) |
48 |
.P |
.P |
49 |
There is a complete description of the PCRE native API in the |
There is a complete description of the PCRE native API in the |
50 |
.\" HREF |
.\" HREF |
51 |
\fBpcreapi\fR |
\fBpcreapi\fP |
52 |
.\" |
.\" |
53 |
page and a description of the POSIX API in the |
page and a description of the POSIX API in the |
54 |
.\" HREF |
.\" HREF |
55 |
\fBpcreposix\fR |
\fBpcreposix\fP |
56 |
.\" |
.\" |
57 |
page. |
page. |