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
[: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
------------------------------

View File

@@ -36,7 +36,7 @@ options are:
PCRE2_EXTRA_ASCII_BSD \d 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_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_BAD_ESCAPE_IS_LITERAL Treat all invalid escapes as a literal following character
PCRE2_EXTRA_CASELESS_RESTRICT Disable mixed ASCII/non-ASCII case folding

View File

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

View File

@@ -1581,14 +1581,16 @@ property.
<P>
[:xdigit:]
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
is a change that was made in PCRE release 10.43 for Perl compatibility.
versions of those characters, whose Unicode code points start at U+FF10. The
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>
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
negated by setting the PCRE2_EXTRA_ASCII_POSIX option, either when calling
<b>pcre2_compile()</b> or internally within the pattern.
with code points less than 256. The effect of PCRE2_UCP on all POSIX classes
can be negated by setting the PCRE2_EXTRA_ASCII_POSIX option, either when
calling <b>pcre2_compile()</b> or internally within the pattern.
</P>
<br><a name="SEC11" href="#TOC1">COMPATIBILITY FEATURE FOR WORD BOUNDARIES</a><br>
<P>

View File

@@ -1973,8 +1973,8 @@ COMPILING A PATTERN
PCRE2_EXTRA_ASCII_DIGIT
This option forces the POSIX character class [:digit:] to match only
ASCII digits, even when PCRE2_UCP is set.
This option forces the POSIX character classes [:digit:] and [:xdigit:]
to match only ASCII digits, even when PCRE2_UCP is set.
PCRE2_EXTRA_ASCII_POSIX
@@ -7816,14 +7816,16 @@ POSIX CHARACTER CLASSES
[:xdigit:]
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 is a change that
was made in PCRE release 10.43 for Perl compatibility.
Unicode code points start at U+FF10. The 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.
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 negated by setting the PCRE2_EXTRA_ASCII_POSIX op-
tion, either when calling pcre2_compile() or internally within the pat-
tern.
all POSIX classes can be negated by setting the PCRE2_EXTRA_ASCII_POSIX
option, either when calling pcre2_compile() or internally within the
pattern.
COMPATIBILITY FEATURE FOR WORD BOUNDARIES

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!
.SH NAME
// - A demonstration C program for PCRE2 - //