Local updates consequent on ocumentation patches (PR#47).
This commit is contained in:
parent
587b94277b
commit
4a8f5d104c
|
@ -18,6 +18,8 @@ not supported.
|
||||||
|
|
||||||
5. Merged patch from @carenas (GitHub #52, b037bfa1) to fix build on GNU Hurd.
|
5. Merged patch from @carenas (GitHub #52, b037bfa1) to fix build on GNU Hurd.
|
||||||
|
|
||||||
|
6. Merged documentation and comments patches from @carenas (GitHub #47).
|
||||||
|
|
||||||
|
|
||||||
Version 10.39 29-October-2021
|
Version 10.39 29-October-2021
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
|
@ -34,7 +34,8 @@ allocation. The result can be passed to the JIT run-time code by calling
|
||||||
<b>pcre2_jit_stack_assign()</b> to associate the stack with a compiled pattern,
|
<b>pcre2_jit_stack_assign()</b> to associate the stack with a compiled pattern,
|
||||||
which can then be processed by <b>pcre2_match()</b> or <b>pcre2_jit_match()</b>.
|
which can then be processed by <b>pcre2_match()</b> or <b>pcre2_jit_match()</b>.
|
||||||
A maximum stack size of 512KiB to 1MiB should be more than enough for any
|
A maximum stack size of 512KiB to 1MiB should be more than enough for any
|
||||||
pattern. For more details, see the
|
pattern. If the stack couldn't be allocated or the values passed were not
|
||||||
|
reasonable, NULL will be returned. For more details, see the
|
||||||
<a href="pcre2jit.html"><b>pcre2jit</b></a>
|
<a href="pcre2jit.html"><b>pcre2jit</b></a>
|
||||||
page.
|
page.
|
||||||
</P>
|
</P>
|
||||||
|
|
|
@ -1845,7 +1845,7 @@ undefined. It may cause your program to crash or loop.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Note that this option can also be passed to <b>pcre2_match()</b> and
|
Note that this option can also be passed to <b>pcre2_match()</b> and
|
||||||
<b>pcre_dfa_match()</b>, to suppress UTF validity checking of the subject
|
<b>pcre2_dfa_match()</b>, to suppress UTF validity checking of the subject
|
||||||
string.
|
string.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
|
@ -3850,7 +3850,7 @@ Here is an example of a simple call to <b>pcre2_dfa_match()</b>:
|
||||||
</PRE>
|
</PRE>
|
||||||
</P>
|
</P>
|
||||||
<br><b>
|
<br><b>
|
||||||
Option bits for <b>pcre_dfa_match()</b>
|
Option bits for <b>pcre2_dfa_match()</b>
|
||||||
</b><br>
|
</b><br>
|
||||||
<P>
|
<P>
|
||||||
The unused bits of the <i>options</i> argument for <b>pcre2_dfa_match()</b> must
|
The unused bits of the <i>options</i> argument for <b>pcre2_dfa_match()</b> must
|
||||||
|
|
|
@ -78,7 +78,7 @@ to 8-bit code units for output.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
In the rest of this document, the names of library functions and structures
|
In the rest of this document, the names of library functions and structures
|
||||||
are given in generic form, for example, <b>pcre_compile()</b>. The actual
|
are given in generic form, for example, <b>pcre2_compile()</b>. The actual
|
||||||
names used in the libraries have a suffix _8, _16, or _32, as appropriate.
|
names used in the libraries have a suffix _8, _16, or _32, as appropriate.
|
||||||
<a name="inputencoding"></a></P>
|
<a name="inputencoding"></a></P>
|
||||||
<br><a name="SEC3" href="#TOC1">INPUT ENCODING</a><br>
|
<br><a name="SEC3" href="#TOC1">INPUT ENCODING</a><br>
|
||||||
|
|
|
@ -1815,7 +1815,7 @@ COMPILING A PATTERN
|
||||||
to crash or loop.
|
to crash or loop.
|
||||||
|
|
||||||
Note that this option can also be passed to pcre2_match() and
|
Note that this option can also be passed to pcre2_match() and
|
||||||
pcre_dfa_match(), to suppress UTF validity checking of the subject
|
pcre2_dfa_match(), to suppress UTF validity checking of the subject
|
||||||
string.
|
string.
|
||||||
|
|
||||||
Note also that setting PCRE2_NO_UTF_CHECK at compile time does not dis-
|
Note also that setting PCRE2_NO_UTF_CHECK at compile time does not dis-
|
||||||
|
@ -3698,7 +3698,7 @@ MATCHING A PATTERN: THE ALTERNATIVE FUNCTION
|
||||||
wspace, /* working space vector */
|
wspace, /* working space vector */
|
||||||
20); /* number of elements (NOT size in bytes) */
|
20); /* number of elements (NOT size in bytes) */
|
||||||
|
|
||||||
Option bits for pcre_dfa_match()
|
Option bits for pcre2_dfa_match()
|
||||||
|
|
||||||
The unused bits of the options argument for pcre2_dfa_match() must be
|
The unused bits of the options argument for pcre2_dfa_match() must be
|
||||||
zero. The only bits that may be set are PCRE2_ANCHORED,
|
zero. The only bits that may be set are PCRE2_ANCHORED,
|
||||||
|
|
|
@ -44,7 +44,7 @@ PCRE2's 8-BIT, 16-BIT AND 32-BIT LIBRARIES
|
||||||
output.
|
output.
|
||||||
|
|
||||||
In the rest of this document, the names of library functions and struc-
|
In the rest of this document, the names of library functions and struc-
|
||||||
tures are given in generic form, for example, pcre_compile(). The ac-
|
tures are given in generic form, for example, pcre2_compile(). The ac-
|
||||||
tual names used in the libraries have a suffix _8, _16, or _32, as ap-
|
tual names used in the libraries have a suffix _8, _16, or _32, as ap-
|
||||||
propriate.
|
propriate.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue