/[pcre]/code/trunk/doc/html/pcre_config.html
ViewVC logotype

Contents of /code/trunk/doc/html/pcre_config.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 231 - (show annotations) (download) (as text)
Tue Sep 11 11:15:33 2007 UTC (6 years, 10 months ago) by ph10
File MIME type: text/html
File size: 2570 byte(s)
Add facility to make \R match only CR, LF, or CRLF.

1 <html>
2 <head>
3 <title>pcre_config specification</title>
4 </head>
5 <body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6 <h1>pcre_config man page</h1>
7 <p>
8 Return to the <a href="index.html">PCRE index page</a>.
9 </p>
10 <p>
11 This page is part of the PCRE HTML documentation. It was generated automatically
12 from the original man page. If there is any nonsense in it, please consult the
13 man page, in case the conversion went wrong.
14 <br>
15 <br><b>
16 SYNOPSIS
17 </b><br>
18 <P>
19 <b>#include &#60;pcre.h&#62;</b>
20 </P>
21 <P>
22 <b>int pcre_config(int <i>what</i>, void *<i>where</i>);</b>
23 </P>
24 <br><b>
25 DESCRIPTION
26 </b><br>
27 <P>
28 This function makes it possible for a client program to find out which optional
29 features are available in the version of the PCRE library it is using. Its
30 arguments are as follows:
31 <pre>
32 <i>what</i> A code specifying what information is required
33 <i>where</i> Points to where to put the data
34 </pre>
35 The available codes are:
36 <pre>
37 PCRE_CONFIG_LINK_SIZE Internal link size: 2, 3, or 4
38 PCRE_CONFIG_MATCH_LIMIT Internal resource limit
39 PCRE_CONFIG_MATCH_LIMIT_RECURSION
40 Internal recursion depth limit
41 PCRE_CONFIG_NEWLINE Value of the default newline sequence:
42 13 (0x000d) for CR
43 10 (0x000a) for LF
44 3338 (0x0d0a) for CRLF
45 -2 for ANYCRLF
46 -1 for ANY
47 PCRE_CONFIG_BSR Indicates what \R matches by default:
48 0 all Unicode line endings
49 1 CR, LF, or CRLF only
50 PCRE_CONFIG_POSIX_MALLOC_THRESHOLD
51 Threshold of return slots, above
52 which <b>malloc()</b> is used by
53 the POSIX API
54 PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap)
55 PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no)
56 PCRE_CONFIG_UNICODE_PROPERTIES
57 Availability of Unicode property support
58 (1=yes 0=no)
59 </pre>
60 The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise.
61 </P>
62 <P>
63 There is a complete description of the PCRE native API in the
64 <a href="pcreapi.html"><b>pcreapi</b></a>
65 page and a description of the POSIX API in the
66 <a href="pcreposix.html"><b>pcreposix</b></a>
67 page.
68 <p>
69 Return to the <a href="index.html">PCRE index page</a>.
70 </p>

Properties

Name Value
svn:eol-style native
svn:keywords "Author Date Id Revision Url"

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12