1*22dc650dSSadaf Ebrahimi<html> 2*22dc650dSSadaf Ebrahimi<head> 3*22dc650dSSadaf Ebrahimi<title>pcre2_maketables specification</title> 4*22dc650dSSadaf Ebrahimi</head> 5*22dc650dSSadaf Ebrahimi<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB"> 6*22dc650dSSadaf Ebrahimi<h1>pcre2_maketables man page</h1> 7*22dc650dSSadaf Ebrahimi<p> 8*22dc650dSSadaf EbrahimiReturn to the <a href="index.html">PCRE2 index page</a>. 9*22dc650dSSadaf Ebrahimi</p> 10*22dc650dSSadaf Ebrahimi<p> 11*22dc650dSSadaf EbrahimiThis page is part of the PCRE2 HTML documentation. It was generated 12*22dc650dSSadaf Ebrahimiautomatically from the original man page. If there is any nonsense in it, 13*22dc650dSSadaf Ebrahimiplease consult the man page, in case the conversion went wrong. 14*22dc650dSSadaf Ebrahimi<br> 15*22dc650dSSadaf Ebrahimi<br><b> 16*22dc650dSSadaf EbrahimiSYNOPSIS 17*22dc650dSSadaf Ebrahimi</b><br> 18*22dc650dSSadaf Ebrahimi<P> 19*22dc650dSSadaf Ebrahimi<b>#include <pcre2.h></b> 20*22dc650dSSadaf Ebrahimi</P> 21*22dc650dSSadaf Ebrahimi<P> 22*22dc650dSSadaf Ebrahimi<b>const uint8_t *pcre2_maketables(pcre2_general_context *<i>gcontext</i>);</b> 23*22dc650dSSadaf Ebrahimi</P> 24*22dc650dSSadaf Ebrahimi<br><b> 25*22dc650dSSadaf EbrahimiDESCRIPTION 26*22dc650dSSadaf Ebrahimi</b><br> 27*22dc650dSSadaf Ebrahimi<P> 28*22dc650dSSadaf EbrahimiThis function builds a set of character tables for character code points that 29*22dc650dSSadaf Ebrahimiare less than 256. These can be passed to <b>pcre2_compile()</b> in a compile 30*22dc650dSSadaf Ebrahimicontext in order to override the internal, built-in tables (which were either 31*22dc650dSSadaf Ebrahimidefaulted or made by <b>pcre2_maketables()</b> when PCRE2 was compiled). See the 32*22dc650dSSadaf Ebrahimi<a href="pcre2_set_character_tables.html"><b>pcre2_set_character_tables()</b></a> 33*22dc650dSSadaf Ebrahimipage. You might want to do this if you are using a non-standard locale. 34*22dc650dSSadaf Ebrahimi</P> 35*22dc650dSSadaf Ebrahimi<P> 36*22dc650dSSadaf EbrahimiIf the argument is NULL, <b>malloc()</b> is used to get memory for the tables. 37*22dc650dSSadaf EbrahimiOtherwise it must point to a general context, which can supply pointers to a 38*22dc650dSSadaf Ebrahimicustom memory manager. The function yields a pointer to the tables. 39*22dc650dSSadaf Ebrahimi</P> 40*22dc650dSSadaf Ebrahimi<P> 41*22dc650dSSadaf EbrahimiThere is a complete description of the PCRE2 native API in the 42*22dc650dSSadaf Ebrahimi<a href="pcre2api.html"><b>pcre2api</b></a> 43*22dc650dSSadaf Ebrahimipage and a description of the POSIX API in the 44*22dc650dSSadaf Ebrahimi<a href="pcre2posix.html"><b>pcre2posix</b></a> 45*22dc650dSSadaf Ebrahimipage. 46*22dc650dSSadaf Ebrahimi<p> 47*22dc650dSSadaf EbrahimiReturn to the <a href="index.html">PCRE2 index page</a>. 48*22dc650dSSadaf Ebrahimi</p> 49