116 lines
8.3 KiB
HTML
116 lines
8.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of PCRE_CONFIG</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>PCRE_CONFIG</H1>
|
|
Section: C Library Functions (3)<BR>Updated: 20 April 2014<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
PCRE - Perl-compatible regular expressions
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
<P>
|
|
<B>#include <<A HREF="file:///usr/include/pcre.h">pcre.h</A>></B>
|
|
|
|
<P>
|
|
|
|
<FONT SIZE="-1"><B>int pcre_config(int </B><I>what</I>, void *<I>where</I>);
|
|
|
|
</FONT>
|
|
<P>
|
|
|
|
<B>int pcre16_config(int </B><I>what</I>, void *<I>where</I>);
|
|
|
|
<P>
|
|
|
|
<B>int pcre32_config(int </B><I>what</I>, void *<I>where</I>);
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
<P>
|
|
This function makes it possible for a client program to find out which optional
|
|
features are available in the version of the PCRE library it is using. The
|
|
arguments are as follows:
|
|
<P>
|
|
<BR> <I>what</I> A code specifying what information is required
|
|
<BR> <I>where</I> Points to where to put the data
|
|
<P>
|
|
The <I>where</I> argument must point to an integer variable, except for
|
|
PCRE_CONFIG_MATCH_LIMIT, PCRE_CONFIG_MATCH_LIMIT_RECURSION, and
|
|
PCRE_CONFIG_PARENS_LIMIT, when it must point to an unsigned long integer,
|
|
and for PCRE_CONFIG_JITTARGET, when it must point to a const char*.
|
|
The available codes are:
|
|
<P>
|
|
<BR> PCRE_CONFIG_JIT Availability of just-in-time compiler
|
|
<BR> support (1=yes 0=no)
|
|
<BR> PCRE_CONFIG_JITTARGET String containing information about the
|
|
<BR> target architecture for the JIT compiler,
|
|
<BR> or NULL if there is no JIT support
|
|
<BR> PCRE_CONFIG_LINK_SIZE Internal link size: 2, 3, or 4
|
|
<BR> PCRE_CONFIG_PARENS_LIMIT Parentheses nesting limit
|
|
<BR> PCRE_CONFIG_MATCH_LIMIT Internal resource limit
|
|
<BR> PCRE_CONFIG_MATCH_LIMIT_RECURSION
|
|
<BR> Internal recursion depth limit
|
|
<BR> PCRE_CONFIG_NEWLINE Value of the default newline sequence:
|
|
<BR> 13 (0x000d) for CR
|
|
<BR> 10 (0x000a) for LF
|
|
<BR> 3338 (0x0d0a) for CRLF
|
|
<BR> -2 for ANYCRLF
|
|
<BR> -1 for ANY
|
|
<BR> PCRE_CONFIG_BSR Indicates what \R matches by default:
|
|
<BR> 0 all Unicode line endings
|
|
<BR> 1 CR, LF, or CRLF only
|
|
<BR> PCRE_CONFIG_POSIX_MALLOC_THRESHOLD
|
|
<BR> Threshold of return slots, above which
|
|
<BR> <B>malloc()</B> is used by the POSIX API
|
|
<BR> PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap)
|
|
<BR> PCRE_CONFIG_UTF16 Availability of UTF-16 support (1=yes
|
|
<BR> 0=no); option for <B>pcre16_config()</B>
|
|
<BR> PCRE_CONFIG_UTF32 Availability of UTF-32 support (1=yes
|
|
<BR> 0=no); option for <B>pcre32_config()</B>
|
|
<BR> PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no);
|
|
<BR> option for <B>pcre_config()</B>
|
|
<BR> PCRE_CONFIG_UNICODE_PROPERTIES
|
|
<BR> Availability of Unicode property support
|
|
<BR> (1=yes 0=no)
|
|
<P>
|
|
The function yields 0 on success or PCRE_ERROR_BADOPTION otherwise. That error
|
|
is also given if PCRE_CONFIG_UTF16 or PCRE_CONFIG_UTF32 is passed to
|
|
<B>pcre_config()</B>, if PCRE_CONFIG_UTF8 or PCRE_CONFIG_UTF32 is passed to
|
|
<B>pcre16_config()</B>, or if PCRE_CONFIG_UTF8 or PCRE_CONFIG_UTF16 is passed to
|
|
<B>pcre32_config()</B>.
|
|
<P>
|
|
|
|
There is a complete description of the PCRE native API in the
|
|
|
|
<B>pcreapi</B>
|
|
|
|
page and a description of the POSIX API in the
|
|
|
|
<B>pcreposix</B>
|
|
|
|
page.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:51 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|