Skip to content

Commit a0b4ee0

Browse files
committed
Update HTML docs and ChangeLog for recent patches
1 parent d231944 commit a0b4ee0

File tree

6 files changed

+800
-794
lines changed

6 files changed

+800
-794
lines changed

ChangeLog

+2
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ includes underscore.
132132
matches the "fullwidth" versions of the hex digits. Just like it is done for
133133
[:digit:], PCRE2_EXTRA_ASCII_DIGIT can be used to keep this class ASCII only.
134134

135+
34. GitHub PR305 fixes a potential integer overflow in pcre2_dfa_match().
136+
135137

136138
Version 10.42 11-December-2022
137139
------------------------------

doc/html/pcre2_set_compile_extra_options.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1>pcre2_set_compile_extra_options man page</h1>
3636
PCRE2_EXTRA_ASCII_BSD \d remains ASCII in UCP mode
3737
PCRE2_EXTRA_ASCII_BSS \s remains ASCII in UCP mode
3838
PCRE2_EXTRA_ASCII_BSW \w remains ASCII in UCP mode
39-
PCRE2_EXTRA_ASCII_DIGIT [:digit:] POSIX class remains ASCII in UCP mode
39+
PCRE2_EXTRA_ASCII_DIGIT [:digit:] and [:xdigit:] POSIX classes remain ASCII in UCP mode
4040
PCRE2_EXTRA_ASCII_POSIX POSIX classes remain ASCII in UCP mode
4141
PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL Treat all invalid escapes as a literal following character
4242
PCRE2_EXTRA_CASELESS_RESTRICT Disable mixed ASCII/non-ASCII case folding

doc/html/pcre2api.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2013,8 +2013,8 @@ <h1>pcre2api man page</h1>
20132013
<pre>
20142014
PCRE2_EXTRA_ASCII_DIGIT
20152015
</pre>
2016-
This option forces the POSIX character class [:digit:] to match only ASCII
2017-
digits, even when PCRE2_UCP is set.
2016+
This option forces the POSIX character classes [:digit:] and [:xdigit:] to
2017+
match only ASCII digits, even when PCRE2_UCP is set.
20182018
<pre>
20192019
PCRE2_EXTRA_ASCII_POSIX
20202020
</pre>

doc/html/pcre2pattern.html

+8-6
Original file line numberDiff line numberDiff line change
@@ -1580,15 +1580,17 @@ <h1>pcre2pattern man page</h1>
15801580
</P>
15811581
<P>
15821582
[:xdigit:]
1583-
In addition to the ASCII hexadecimal digits, this also matches the "fullwidth"
1584-
versions of those characters, whose Unicode code points start at U+FF10. This
1585-
is a change that was made in PCRE release 10.43 for Perl compatibility.
1583+
In addition to the ASCII hexadecimal digits, this also matches the "fullwidth"
1584+
versions of those characters, whose Unicode code points start at U+FF10. The
1585+
effect of PCRE2_UCP can be negated by setting the PCRE2_EXTRA_ASCII_DIGIT
1586+
option, just like it does for [:digit]. This is a change that was made in
1587+
PCRE release 10.43 for Perl compatibility.
15861588
</P>
15871589
<P>
15881590
The other POSIX classes are unchanged by PCRE2_UCP, and match only characters
1589-
with code points less than 256. The effect of PCRE2_UCP on POSIX classes can be
1590-
negated by setting the PCRE2_EXTRA_ASCII_POSIX option, either when calling
1591-
<b>pcre2_compile()</b> or internally within the pattern.
1591+
with code points less than 256. The effect of PCRE2_UCP on all POSIX classes
1592+
can be negated by setting the PCRE2_EXTRA_ASCII_POSIX option, either when
1593+
calling <b>pcre2_compile()</b> or internally within the pattern.
15921594
</P>
15931595
<br><a name="SEC11" href="#TOC1">COMPATIBILITY FEATURE FOR WORD BOUNDARIES</a><br>
15941596
<P>

0 commit comments

Comments
 (0)