chiark / gitweb /
Commit upstream pcre-8.39.tar.bz2
[pcre3.git] / doc / pcre_maketables.3
1 .TH PCRE_MAKETABLES 3 "24 June 2012" "PCRE 8.30"
2 .SH NAME
3 PCRE - Perl-compatible regular expressions
4 .SH SYNOPSIS
5 .rs
6 .sp
7 .B #include <pcre.h>
8 .PP
9 .SM
10 .B const unsigned char *pcre_maketables(void);
11 .PP
12 .B const unsigned char *pcre16_maketables(void);
13 .PP
14 .B const unsigned char *pcre32_maketables(void);
15 .
16 .SH DESCRIPTION
17 .rs
18 .sp
19 This function builds a set of character tables for character values less than
20 256. These can be passed to \fBpcre[16|32]_compile()\fP to override PCRE's
21 internal, built-in tables (which were made by \fBpcre[16|32]_maketables()\fP when
22 PCRE was compiled). You might want to do this if you are using a non-standard
23 locale. The function yields a pointer to the tables.
24 .P
25 There is a complete description of the PCRE native API in the
26 .\" HREF
27 \fBpcreapi\fP
28 .\"
29 page and a description of the POSIX API in the
30 .\" HREF
31 \fBpcreposix\fP
32 .\"
33 page.