PCRE - Perl-compatible regular expressions


#include <pcre.h>

int pcre_get_stringtable_entries(const pcre *code,
const char *
name, char **first, char **last);

int pcre16_get_stringtable_entries(const pcre16 *code,
name, PCRE_UCHAR16 **first, PCRE_UCHAR16 **last);

int pcre32_get_stringtable_entries(const pcre32 *code,
name, PCRE_UCHAR32 **first, PCRE_UCHAR32 **last);


This convenience function finds, for a compiled pattern, the first and last entries for a given name in the table that translates capturing parenthesis names into numbers. When names are required to be unique (PCRE_DUPNAMES is not set), it is usually easier to use pcre[16|32]_get_stringnumber() instead.

code Compiled regular expression
Name whose entries required
Where to return a pointer to the first entry
Where to return a pointer to the last entry

The yield of the function is the length of each entry, or PCRE_ERROR_NOSUBSTRING if none are found.

There is a complete description of the PCRE native API, including the format of the table entries, in the pcreapi page, and a description of the POSIX API in the pcreposix page.

More Linux Commands

cyr_expire(8) - expire messages and duplicate delivery datab
Cyr_expire is used to expire messages and duplicate delivery database entries. Cyr_expire also cleanses mailboxes of partially expunged messages (when using the

This module is used by X11::Protocol to establish a connection and communicate with a server over a local Unix-domain socket connection, using the IO::Socket::U

WidthMMOfScreen(3) - screen information functions and macros
The BlackPixelOfScreen macro returns the black pixel value of the specified screen. The WhitePixelOfScreen macro returns the white pixel value of the specified

gnutls_pubkey_verify_data2(3) - API function (Man Page).....
gnutls_pubkey_verify_data2.3 - This function will verify the given signed data, using the parameters from the certificate. RETURNS On success, GNUTLS_E_SUCCESS

beep_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

ttk_style(n) Manipulate style database - Linux manual page
The ttk::style command takes the following arguments: ttk::style configure style ?-option ?value option value...? ? Sets the default value of the specified opti

systemd.slice(5) Slice unit configuration - Linux man page
A unit configuration file whose name ends in .slice encodes information about a slice which is a concept for hierarchially managing resources of a group of proc

clog2(3) - base-2 logarithm of a complex number (Man Page)
The call clog2(z) is equivalent to clog(z)/log(2). The other functions perform the same task for float and long double. Note that z close to zero will cause an

pulseaudio(1) - The PulseAudio Sound System - Linux man page
PulseAudio is a networked low-latency sound server for Linux, POSIX and Windows systems. OPTIONS -h | --help Show help. --version Show version information. --du

exec(8) confine a program with the specified AppArmor profil
aa-exec is used to launch a program confined by the specified profile and or namespace. If both a profile and namespace are specified command will be confined b

wpa_priv(8) - wpa_supplicant privilege separation helper....
wpa_priv is a privilege separation helper that minimizes the size of wpa_supplicant code that needs to be run with root privileges. If enabled, privileged opera

funlockfile(3) - lock FILE for stdio - Linux manual page....
The stdio functions are thread-safe. This is achieved by assigning to each FILE object a lockcount and (if the lockcount is nonzero) an owning thread. For each

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