1PCRE2_MAKETABLES(3)        Library Functions Manual        PCRE2_MAKETABLES(3)
2
3
4

NAME

6       PCRE2 - Perl-compatible regular expressions (revised API)
7

SYNOPSIS

9
10       #include <pcre2.h>
11
12       const  unsigned  char  *pcre2_maketables(pcre22_general_context  *gcon‐
13       text);
14

DESCRIPTION

16
17       This function builds a set of character  tables  for  character  values
18       less than 256. These can be passed to pcre2_compile() in a compile con‐
19       text in order to override the internal,  built-in  tables  (which  were
20       either  defaulted  or  made  by  pcre2_maketables() when PCRE2 was com‐
21       piled). See the pcre2_set_character_tables() page. You might want to do
22       this if you are using a non-standard locale.
23
24       If the argument is NULL, malloc() is used to get memory for the tables.
25       Otherwise it must point to a general context, which can supply pointers
26       to  a  custom  memory  manager.  The  function  yields a pointer to the
27       tables.
28
29       There is a complete description of the PCRE2 native API in the pcre2api
30       page and a description of the POSIX API in the pcre2posix page.
31
32
33
34PCRE2 10.00                     21 October 2014            PCRE2_MAKETABLES(3)
Impressum