Update HTML docs and ChangeLog for recent patches

This commit is contained in:
Philip Hazel
2023-10-09 16:55:17 +01:00
parent d231944236
commit a0b4ee097b
6 changed files with 799 additions and 793 deletions

View File

@@ -132,6 +132,8 @@ includes underscore.
matches the "fullwidth" versions of the hex digits. Just like it is done for matches the "fullwidth" versions of the hex digits. Just like it is done for
[:digit:], PCRE2_EXTRA_ASCII_DIGIT can be used to keep this class ASCII only. [:digit:], PCRE2_EXTRA_ASCII_DIGIT can be used to keep this class ASCII only.
34. GitHub PR305 fixes a potential integer overflow in pcre2_dfa_match().
Version 10.42 11-December-2022 Version 10.42 11-December-2022
------------------------------ ------------------------------

View File

@@ -36,7 +36,7 @@ options are:
PCRE2_EXTRA_ASCII_BSD \d remains ASCII in UCP mode PCRE2_EXTRA_ASCII_BSD \d remains ASCII in UCP mode
PCRE2_EXTRA_ASCII_BSS \s remains ASCII in UCP mode PCRE2_EXTRA_ASCII_BSS \s remains ASCII in UCP mode
PCRE2_EXTRA_ASCII_BSW \w remains ASCII in UCP mode PCRE2_EXTRA_ASCII_BSW \w remains ASCII in UCP mode
PCRE2_EXTRA_ASCII_DIGIT [:digit:] POSIX class remains ASCII in UCP mode PCRE2_EXTRA_ASCII_DIGIT [:digit:] and [:xdigit:] POSIX classes remain ASCII in UCP mode
PCRE2_EXTRA_ASCII_POSIX POSIX classes remain ASCII in UCP mode PCRE2_EXTRA_ASCII_POSIX POSIX classes remain ASCII in UCP mode
PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL Treat all invalid escapes as a literal following character PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL Treat all invalid escapes as a literal following character
PCRE2_EXTRA_CASELESS_RESTRICT Disable mixed ASCII/non-ASCII case folding PCRE2_EXTRA_CASELESS_RESTRICT Disable mixed ASCII/non-ASCII case folding

View File

@@ -2013,8 +2013,8 @@ setting.
<pre> <pre>
PCRE2_EXTRA_ASCII_DIGIT PCRE2_EXTRA_ASCII_DIGIT
</pre> </pre>
This option forces the POSIX character class [:digit:] to match only ASCII This option forces the POSIX character classes [:digit:] and [:xdigit:] to
digits, even when PCRE2_UCP is set. match only ASCII digits, even when PCRE2_UCP is set.
<pre> <pre>
PCRE2_EXTRA_ASCII_POSIX PCRE2_EXTRA_ASCII_POSIX
</pre> </pre>

View File

@@ -1580,15 +1580,17 @@ property.
</P> </P>
<P> <P>
[:xdigit:] [:xdigit:]
In addition to the ASCII hexadecimal digits, this also matches the "fullwidth" In addition to the ASCII hexadecimal digits, this also matches the "fullwidth"
versions of those characters, whose Unicode code points start at U+FF10. This versions of those characters, whose Unicode code points start at U+FF10. The
is a change that was made in PCRE release 10.43 for Perl compatibility. effect of PCRE2_UCP can be negated by setting the PCRE2_EXTRA_ASCII_DIGIT
option, just like it does for [:digit]. This is a change that was made in
PCRE release 10.43 for Perl compatibility.
</P> </P>
<P> <P>
The other POSIX classes are unchanged by PCRE2_UCP, and match only characters The other POSIX classes are unchanged by PCRE2_UCP, and match only characters
with code points less than 256. The effect of PCRE2_UCP on POSIX classes can be with code points less than 256. The effect of PCRE2_UCP on all POSIX classes
negated by setting the PCRE2_EXTRA_ASCII_POSIX option, either when calling can be negated by setting the PCRE2_EXTRA_ASCII_POSIX option, either when
<b>pcre2_compile()</b> or internally within the pattern. calling <b>pcre2_compile()</b> or internally within the pattern.
</P> </P>
<br><a name="SEC11" href="#TOC1">COMPATIBILITY FEATURE FOR WORD BOUNDARIES</a><br> <br><a name="SEC11" href="#TOC1">COMPATIBILITY FEATURE FOR WORD BOUNDARIES</a><br>
<P> <P>

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
.TH PCRE2DEMO 3 " 4 October 2023" "PCRE2 10.43-DEV" .TH PCRE2DEMO 3 " 9 October 2023" "PCRE2 10.43-DEV"
.\"AUTOMATICALLY GENERATED BY PrepareRelease - do not EDIT! .\"AUTOMATICALLY GENERATED BY PrepareRelease - do not EDIT!
.SH NAME .SH NAME
// - A demonstration C program for PCRE2 - // // - A demonstration C program for PCRE2 - //