1PCRE2_MAKETABLES(3) Library Functions Manual PCRE2_MAKETABLES(3)
2
3
4
6 PCRE2 - Perl-compatible regular expressions (revised API)
7
9
10 #include <pcre2.h>
11
12 const uint8_t *pcre2_maketables(pcre2_general_context *gcontext);
13
15
16 This function builds a set of character tables for character code
17 points that are less than 256. These can be passed to pcre2_compile()
18 in a compile context in order to override the internal, built-in tables
19 (which were either defaulted or made by pcre2_maketables() when PCRE2
20 was compiled). See the pcre2_set_character_tables() page. You might
21 want to do this if you are using a non-standard locale.
22
23 If the argument is NULL, malloc() is used to get memory for the tables.
24 Otherwise it must point to a general context, which can supply pointers
25 to a custom memory manager. The function yields a pointer to the
26 tables.
27
28 There is a complete description of the PCRE2 native API in the pcre2api
29 page and a description of the POSIX API in the pcre2posix page.
30
31
32
33PCRE2 10.30 17 April 2017 PCRE2_MAKETABLES(3)