mirror of
https://github.com/PCRE2Project/pcre2.git
synced 2025-10-20 12:55:08 +08:00
Update HTML docs and ChangeLog for recent patches
This commit is contained in:
@@ -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
|
||||||
------------------------------
|
------------------------------
|
||||||
|
@@ -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
|
||||||
|
@@ -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>
|
||||||
|
@@ -1581,14 +1581,16 @@ property.
|
|||||||
<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>
|
||||||
|
@@ -1973,8 +1973,8 @@ COMPILING A PATTERN
|
|||||||
|
|
||||||
PCRE2_EXTRA_ASCII_DIGIT
|
PCRE2_EXTRA_ASCII_DIGIT
|
||||||
|
|
||||||
This option forces the POSIX character class [:digit:] to match only
|
This option forces the POSIX character classes [:digit:] and [:xdigit:]
|
||||||
ASCII digits, even when PCRE2_UCP is set.
|
to match only ASCII digits, even when PCRE2_UCP is set.
|
||||||
|
|
||||||
PCRE2_EXTRA_ASCII_POSIX
|
PCRE2_EXTRA_ASCII_POSIX
|
||||||
|
|
||||||
@@ -7816,14 +7816,16 @@ POSIX CHARACTER CLASSES
|
|||||||
[:xdigit:]
|
[:xdigit:]
|
||||||
In addition to the ASCII hexadecimal digits, this also
|
In addition to the ASCII hexadecimal digits, this also
|
||||||
matches the "fullwidth" versions of those characters, whose
|
matches the "fullwidth" versions of those characters, whose
|
||||||
Unicode code points start at U+FF10. This is a change that
|
Unicode code points start at U+FF10. The effect of PCRE2_UCP
|
||||||
was made in PCRE release 10.43 for Perl compatibility.
|
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
|
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
|
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-
|
all POSIX classes can be negated by setting the PCRE2_EXTRA_ASCII_POSIX
|
||||||
tion, either when calling pcre2_compile() or internally within the pat-
|
option, either when calling pcre2_compile() or internally within the
|
||||||
tern.
|
pattern.
|
||||||
|
|
||||||
|
|
||||||
COMPATIBILITY FEATURE FOR WORD BOUNDARIES
|
COMPATIBILITY FEATURE FOR WORD BOUNDARIES
|
||||||
|
@@ -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 - //
|
||||||
|
Reference in New Issue
Block a user