Skip to content

Commit 341f424

Browse files
Sync autogenerated files #noupdate
1 parent ec48bfc commit 341f424

File tree

5 files changed

+1267
-1248
lines changed

5 files changed

+1267
-1248
lines changed

doc/html/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ <h1>Perl-compatible Regular Expressions (revised API: PCRE2)</h1>
129129
<td>Free a compile context</td></tr>
130130

131131
<tr><td><a href="pcre2_config.html">pcre2_config</a></td>
132-
<td>Show build-time configuration options</td></tr>
132+
<td>Show build-time related configuration options</td></tr>
133133

134134
<tr><td><a href="pcre2_convert_context_copy.html">pcre2_convert_context_copy</a></td>
135135
<td>Copy a convert context</td></tr>

doc/html/pcre2_config.html

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,31 @@ <h2>
4242
buffer that is large enough to hold the string. For all other codes it must
4343
point to a uint32_t integer variable. The available codes are:
4444
<pre>
45-
PCRE2_CONFIG_BSR Indicates what \R matches by default:
46-
PCRE2_BSR_UNICODE
47-
PCRE2_BSR_ANYCRLF
48-
PCRE2_CONFIG_COMPILED_WIDTHS Which of 8/16/32 support was compiled
49-
PCRE2_CONFIG_DEPTHLIMIT Default backtracking depth limit
50-
PCRE2_CONFIG_HEAPLIMIT Default heap memory limit
51-
PCRE2_CONFIG_JIT Availability of just-in-time compiler support (1=yes 0=no)
52-
PCRE2_CONFIG_JITTARGET Information (a string) about the target architecture for the JIT compiler
53-
PCRE2_CONFIG_LINKSIZE Configured internal link size (2, 3, 4)
54-
PCRE2_CONFIG_MATCHLIMIT Default internal resource limit
45+
PCRE2_CONFIG_BSR Indicates what \R matches by default:
46+
PCRE2_BSR_UNICODE
47+
PCRE2_BSR_ANYCRLF
48+
PCRE2_CONFIG_COMPILED_WIDTHS Which of 8/16/32 support was compiled
49+
PCRE2_CONFIG_DEPTHLIMIT Default backtracking depth limit
50+
PCRE2_CONFIG_EFFECTIVE_LINKSIZE How many bytes are used for link size
51+
PCRE2_CONFIG_HEAPLIMIT Default heap memory limit
52+
PCRE2_CONFIG_JIT Availability of just-in-time compiler support (1=yes 0=no)
53+
PCRE2_CONFIG_JITTARGET Information (a string) about the target architecture for the JIT compiler
54+
PCRE2_CONFIG_LINKSIZE Configured internal link size (2, 3, 4)
55+
PCRE2_CONFIG_MATCHLIMIT Default internal resource limit
5556
PCRE2_CONFIG_NEVER_BACKSLASH_C Whether or not \C is disabled
56-
PCRE2_CONFIG_NEWLINE Code for the default newline sequence:
57-
PCRE2_NEWLINE_CR
58-
PCRE2_NEWLINE_LF
59-
PCRE2_NEWLINE_CRLF
60-
PCRE2_NEWLINE_ANY
61-
PCRE2_NEWLINE_ANYCRLF
62-
PCRE2_NEWLINE_NUL
63-
PCRE2_CONFIG_PARENSLIMIT Default parentheses nesting limit
64-
PCRE2_CONFIG_RECURSIONLIMIT Obsolete: use PCRE2_CONFIG_DEPTHLIMIT
65-
PCRE2_CONFIG_STACKRECURSE Obsolete: always returns 0
66-
PCRE2_CONFIG_UNICODE Availability of Unicode support (1=yes 0=no)
67-
PCRE2_CONFIG_UNICODE_VERSION The Unicode version (a string)
68-
PCRE2_CONFIG_VERSION The PCRE2 version (a string)
57+
PCRE2_CONFIG_NEWLINE Code for the default newline sequence:
58+
PCRE2_NEWLINE_CR
59+
PCRE2_NEWLINE_LF
60+
PCRE2_NEWLINE_CRLF
61+
PCRE2_NEWLINE_ANY
62+
PCRE2_NEWLINE_ANYCRLF
63+
PCRE2_NEWLINE_NUL
64+
PCRE2_CONFIG_PARENSLIMIT Default parentheses nesting limit
65+
PCRE2_CONFIG_RECURSIONLIMIT Obsolete: use PCRE2_CONFIG_DEPTHLIMIT
66+
PCRE2_CONFIG_STACKRECURSE Obsolete: always returns 0
67+
PCRE2_CONFIG_UNICODE Availability of Unicode support (1=yes 0=no)
68+
PCRE2_CONFIG_UNICODE_VERSION The Unicode version (a string)
69+
PCRE2_CONFIG_VERSION The PCRE2 version (a string)
6970
</pre>
7071
The function yields a non-negative value on success or the negative value
7172
PCRE2_ERROR_BADOPTION otherwise. This is also the result for the

doc/html/pcre2api.html

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ <h2><a name="SEC14" href="#TOC1">PCRE2 API OVERVIEW</a></h2>
575575
<p>
576576
Finally, there are functions for finding out information about a compiled
577577
pattern (<b>pcre2_pattern_info()</b>) and about the configuration with which
578-
PCRE2 was built (<b>pcre2_config()</b>).
578+
PCRE2 was built (<b>pcre2_config()</b>) and that it is using.
579579
</p>
580580
<p>
581581
Functions with names ending with <b>_free()</b> are used for freeing memory
@@ -1345,6 +1345,13 @@ <h2><a name="SEC19" href="#TOC1">CHECKING BUILD-TIME OPTIONS</a></h2>
13451345
nested backtracking in <b>pcre2_match()</b> or the depth of nested recursions,
13461346
lookarounds, and atomic groups in <b>pcre2_dfa_match()</b>. Further details are
13471347
given with <b>pcre2_set_depth_limit()</b> above.
1348+
<pre>
1349+
PCRE2_CONFIG_EFFECTIVE_LINKSIZE
1350+
</pre>
1351+
The output is a uint32_t integer that contains the number of bytes the library
1352+
uses for internal linkage in compiled regular expressions. Its value is derived
1353+
from the value that was provided at build time and that is described below by
1354+
PCRE2_CONFIG_LINKSIZE.
13481355
<pre>
13491356
PCRE2_CONFIG_HEAPLIMIT
13501357
</pre>
@@ -1378,13 +1385,15 @@ <h2><a name="SEC19" href="#TOC1">CHECKING BUILD-TIME OPTIONS</a></h2>
13781385
<pre>
13791386
PCRE2_CONFIG_LINKSIZE
13801387
</pre>
1381-
The output is a uint32_t integer that contains the number of bytes used for
1382-
internal linkage in compiled regular expressions. When PCRE2 is configured, the
1383-
value can be set to 2, 3, or 4, with the default being 2. This is the value
1384-
that is returned by <b>pcre2_config()</b>. However, when the 16-bit library is
1385-
compiled, a value of 3 is rounded up to 4, and when the 32-bit library is
1386-
compiled, internal linkages always use 4 bytes, so the configured value is not
1387-
relevant.
1388+
The output is a uint32_t integer that contains the number of bytes the library
1389+
was instructed to use for internal linkage in compiled regular expressions.
1390+
When PCRE2 is configured, the value can be set to 2, 3, or 4, with the default
1391+
being 2 for most libraries.
1392+
</p>
1393+
<p>
1394+
The actual number of bytes used depends on the size of the code units that the
1395+
library supports and can be higher. See PCRE2_CONFIG_EFFECTIVE_LINKSIZE above
1396+
for details.
13881397
</p>
13891398
<p>
13901399
The default value of 2 for the 8-bit and 16-bit libraries is sufficient for all

0 commit comments

Comments
 (0)