PCRE_CONFIG



PCRE_CONFIG

NAME
SYNOPSIS
DESCRIPTION

NAME

PCRE - Perl-compatible regular expressions

SYNOPSIS

#include <pcre.h>

int pcre_config(int what, void *where);

int pcre16_config(int what, void *where);

int pcre32_config(int what, void *where);

DESCRIPTION

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:

what A code specifying what information is required
where
Points to where to put the data

The where argument must point to an integer variable, except for PCRE_CONFIG_MATCH_LIMIT and PCRE_CONFIG_MATCH_LIMIT_RECURSION, when it must point to an unsigned long integer. The available codes are:

PCRE_CONFIG_JIT Availability of just-in-time compiler
support (1=yes 0=no)
PCRE_CONFIG_JITTARGET String containing information about the
target architecture for the JIT compiler,
or NULL if there is no JIT support
PCRE_CONFIG_LINK_SIZE Internal link size: 2, 3, or 4
PCRE_CONFIG_PARENS_LIMIT Parentheses nesting limit
PCRE_CONFIG_MATCH_LIMIT Internal resource limit
PCRE_CONFIG_MATCH_LIMIT_RECURSION
Internal recursion depth limit
PCRE_CONFIG_NEWLINE Value of the default newline sequence:
13 (0x000d) for CR
10 (0x000a) for LF
3338 (0x0d0a) for CRLF
-2 for ANYCRLF
-1 for ANY
PCRE_CONFIG_BSR Indicates what \R matches by default:
0 all Unicode line endings
1 CR, LF, or CRLF only
PCRE_CONFIG_POSIX_MALLOC_THRESHOLD
Threshold of return slots, above which
malloc()
is used by the POSIX API
PCRE_CONFIG_STACKRECURSE Recursion implementation (1=stack 0=heap)
PCRE_CONFIG_UTF16 Availability of UTF-16 support (1=yes
0=no); option for pcre16_config()
PCRE_CONFIG_UTF32 Availability of UTF-32 support (1=yes
0=no); option for pcre32_config()
PCRE_CONFIG_UTF8 Availability of UTF-8 support (1=yes 0=no);
option for pcre_config()
PCRE_CONFIG_UNICODE_PROPERTIES
Availability of Unicode property support
(1=yes 0=no)

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 pcre_config(), if PCRE_CONFIG_UTF8 or PCRE_CONFIG_UTF32 is passed to pcre16_config(), or if PCRE_CONFIG_UTF8 or PCRE_CONFIG_UTF16 is passed to pcre32_config().

There is a complete description of the PCRE native API in the pcreapi page and a description of the POSIX API in the pcreposix page.




More Linux Commands

manpages/xzcmp.1.html
xzcmp(1) - compare compressed files - Linux manual page.....
xzcmp.1 - xzcmp and xzdiff invoke cmp(1) or diff(1) on files compressed with xz(1), lzma(1), gzip(1), or bzip2(1). All options specified are passed directly to

manpages/math_error.7.html
math_error(7) - detecting errors from mathematical functions
When an error occurs, most library functions indicate this fact by returning a special value (e.g., -1 or NULL). Because they typically return a floating-point

manpages/has_colors_sp.3ncurses.html
has_colors_sp(3ncurses) - curses screen-pointer extension...
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

manpages/ftok.3.html
ftok(3) - convert a pathname and a project identifier to a S
The ftok() function uses the identity of the file named by the given pathname (which must refer to an existing, accessible file) and the least significant 8 bit

manpages/dog.1x.html
dog(1x) - (unknown subject) (Commands - Linux man page).....
oneko changes your cursor into a mouse and creates a little cute cat and the cat starts chasing around your mouse cursor. If the cat catches the mouse, it will

manpages/Tcl_OpenTcpServer.3.html
Tcl_OpenTcpServer(3) - procedures to open channels using TCP
These functions are convenience procedures for creating channels that communicate over TCP sockets. The operations on a channel are described in the manual entr

manpages/zshcompctl.1.html
zshcompctl(1) - zsh programmable completion - Linux man page
This version of zsh has two ways of performing completion of words on the command line. New users of the shell may prefer to use the newer and more powerful sys

manpages/gmtime_r.3.html
gmtime_r(3) - transform date and time to broken-down time or
The ctime(), gmtime() and localtime() functions all take an argument of data type time_t, which represents calendar time. When interpreted as an absolute time v

manpages/Mail::SpamAssassin::Plugin::ASN.3pm.html
Mail::SpamAssassin::Plugin::ASN(3pm) - SpamAssassin plugin t
This plugin uses DNS lookups to the services of http://www.routeviews.org/ to do the actual work. Please make sure that your use of the plugin does not overload

manpages/getxattr.2.html
getxattr(2) - retrieve an extended attribute value (ManPage)
Extended attributes are name:value pairs associated with inodes (files, directories, symbolic links, etc.). They are extensions to the normal attributes which a

manpages/nl.3ncurses.html
nl(3ncurses) - curses output options - Linux manual page....
These routines set options that change the style of output within curses. All options are initially FALSE, unless otherwise stated. It is not necessary to turn

manpages/XQueryBestStipple.3.html
XQueryBestStipple(3) - determine efficient sizes (Man Page)
The XQueryBestSize function returns the best or closest size to the specified size. For CursorShape, this is the largest size that can be fully displayed on the





We can't live, work or learn in freedom unless the software we use is free.