2017-04-17 11:24:41 -04:00
|
|
|
.TH PCRE2_MAKETABLES 3 "17 April 2017" "PCRE2 10.30"
|
2014-10-21 12:33:30 -04:00
|
|
|
.SH NAME
|
|
|
|
PCRE2 - Perl-compatible regular expressions (revised API)
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.rs
|
|
|
|
.sp
|
|
|
|
.B #include <pcre2.h>
|
|
|
|
.PP
|
|
|
|
.SM
|
2019-07-28 11:58:24 -04:00
|
|
|
.B const uint8_t *pcre2_maketables(pcre2_general_context *\fIgcontext\fP);
|
2014-10-21 12:33:30 -04:00
|
|
|
.
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.rs
|
|
|
|
.sp
|
2017-07-19 12:04:15 -04:00
|
|
|
This function builds a set of character tables for character code points that
|
2017-03-24 12:53:38 -04:00
|
|
|
are less than 256. These can be passed to \fBpcre2_compile()\fP in a compile
|
|
|
|
context in order to override the internal, built-in tables (which were either
|
|
|
|
defaulted or made by \fBpcre2_maketables()\fP when PCRE2 was compiled). See the
|
2014-10-21 12:33:30 -04:00
|
|
|
.\" HREF
|
|
|
|
\fBpcre2_set_character_tables()\fP
|
|
|
|
.\"
|
|
|
|
page. You might want to do this if you are using a non-standard locale.
|
|
|
|
.P
|
|
|
|
If the argument is NULL, \fBmalloc()\fP is used to get memory for the tables.
|
|
|
|
Otherwise it must point to a general context, which can supply pointers to a
|
|
|
|
custom memory manager. The function yields a pointer to the tables.
|
|
|
|
.P
|
|
|
|
There is a complete description of the PCRE2 native API in the
|
|
|
|
.\" HREF
|
|
|
|
\fBpcre2api\fP
|
|
|
|
.\"
|
|
|
|
page and a description of the POSIX API in the
|
|
|
|
.\" HREF
|
|
|
|
\fBpcre2posix\fP
|
|
|
|
.\"
|
|
|
|
page.
|