Elliott Hughes | 2dbd7d2 | 2020-06-03 14:32:37 -0700 | [diff] [blame] | 1 | .TH PCRE2_SET_CHARACTER_TABLES 3 "20 March 2020" "PCRE2 10.35" |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 2 | .SH NAME |
| 3 | PCRE2 - Perl-compatible regular expressions (revised API) |
| 4 | .SH SYNOPSIS |
| 5 | .rs |
| 6 | .sp |
| 7 | .B #include <pcre2.h> |
| 8 | .PP |
| 9 | .nf |
| 10 | .B int pcre2_set_character_tables(pcre2_compile_context *\fIccontext\fP, |
Elliott Hughes | 2dbd7d2 | 2020-06-03 14:32:37 -0700 | [diff] [blame] | 11 | .B " const uint8_t *\fItables\fP);" |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 12 | .fi |
| 13 | . |
| 14 | .SH DESCRIPTION |
| 15 | .rs |
| 16 | .sp |
| 17 | This function sets a pointer to custom character tables within a compile |
Elliott Hughes | 2dbd7d2 | 2020-06-03 14:32:37 -0700 | [diff] [blame] | 18 | context. The second argument must point to a set of PCRE2 character tables or |
| 19 | be NULL to request the default tables. The result is always zero. Character |
| 20 | tables can be created by calling \fBpcre2_maketables()\fP or by running the |
| 21 | \fBpcre2_dftables\fP maintenance command in binary mode (see the |
| 22 | .\" HREF |
| 23 | \fBpcre2build\fP |
| 24 | .\" |
| 25 | documentation). |
Janis Danisevskis | 112c9cc | 2016-03-31 13:35:25 +0100 | [diff] [blame] | 26 | .P |
| 27 | There is a complete description of the PCRE2 native API in the |
| 28 | .\" HREF |
| 29 | \fBpcre2api\fP |
| 30 | .\" |
| 31 | page and a description of the POSIX API in the |
| 32 | .\" HREF |
| 33 | \fBpcre2posix\fP |
| 34 | .\" |
| 35 | page. |