Documentation update.

This commit is contained in:
Philip.Hazel 2017-09-12 11:41:31 +00:00
parent 3cd616c3a9
commit badfbcdd12
3 changed files with 17 additions and 11 deletions

View File

@ -9,9 +9,9 @@ dnl The PCRE2_PRERELEASE feature is for identifying release candidates. It might
dnl be defined as -RC2, for example. For real releases, it should be empty.
m4_define(pcre2_major, [10])
m4_define(pcre2_minor, [30])
m4_define(pcre2_prerelease, [])
m4_define(pcre2_date, [2017-08-14])
m4_define(pcre2_minor, [31])
m4_define(pcre2_prerelease, [-RC1])
m4_define(pcre2_date, [2017-09-12])
# NOTE: The CMakeLists.txt file searches for the above variables in the first
# 50 lines of this file. Please update that if the variables above are moved.

View File

@ -1,4 +1,4 @@
.TH PCRE2PATTERN 3 "29 July 2017" "PCRE2 10.30"
.TH PCRE2PATTERN 3 "12 September 2017" "PCRE2 10.31"
.SH NAME
PCRE2 - Perl-compatible regular expressions (revised API)
.SH "PCRE2 REGULAR EXPRESSION DETAILS"
@ -492,8 +492,10 @@ limited to certain values, as follows:
32-bit non-UTF mode no greater than 0xffffffff
All UTF modes no greater than 0x10ffff and a valid codepoint
.sp
Invalid Unicode codepoints are the range 0xd800 to 0xdfff (the so-called
"surrogate" codepoints), and 0xffef.
Invalid Unicode codepoints are all those in the range 0xd800 to 0xdfff (the
so-called "surrogate" codepoints). The check for these can be disabled by the
caller of \fBpcre2_compile()\fP by setting the option
PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES.
.
.
.SS "Escape sequences in character classes"
@ -1404,7 +1406,11 @@ followed by two other characters. The octal or hexadecimal representation of
Ranges normally include all code points between the start and end characters,
inclusive. They can also be used for code points specified numerically, for
example [\e000-\e037]. Ranges can include any characters that are valid for the
current mode.
current mode. In any UTF mode, the so-called "surrogate" characters (those
whose code points lie between 0xd800 and 0xdfff inclusive) may not be specified
explicitly by default (the PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES option disables
this check). However, ranges such as [\ex{d7ff}-\ex{e000}], which include the
surrogates, are always permitted.
.P
There is a special case in EBCDIC environments for ranges whose end points are
both specified as literal letters in the same case. For compatibility with
@ -3499,6 +3505,6 @@ Cambridge, England.
.rs
.sp
.nf
Last updated: 29 July 2017
Last updated: 12 September 2017
Copyright (c) 1997-2017 University of Cambridge.
.fi

View File

@ -42,9 +42,9 @@ POSSIBILITY OF SUCH DAMAGE.
/* The current PCRE version information. */
#define PCRE2_MAJOR 10
#define PCRE2_MINOR 30
#define PCRE2_PRERELEASE
#define PCRE2_DATE 2017-08-14
#define PCRE2_MINOR 31
#define PCRE2_PRERELEASE -RC1
#define PCRE2_DATE 2017-09-12
/* When an application links to a PCRE DLL in Windows, the symbols that are
imported have to be identified as such. When building PCRE2, the appropriate