[Pcre-svn] [857] code/trunk: Documentation update.

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [857] code/trunk: Documentation update.
Revision: 857
          http://www.exim.org/viewvc/pcre2?view=rev&revision=857
Author:   ph10
Date:     2017-09-12 12:41:31 +0100 (Tue, 12 Sep 2017)
Log Message:
-----------
Documentation update.


Modified Paths:
--------------
    code/trunk/configure.ac
    code/trunk/doc/pcre2pattern.3
    code/trunk/src/pcre2.h


Modified: code/trunk/configure.ac
===================================================================
--- code/trunk/configure.ac    2017-08-28 14:59:04 UTC (rev 856)
+++ code/trunk/configure.ac    2017-09-12 11:41:31 UTC (rev 857)
@@ -9,9 +9,9 @@
 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.

Modified: code/trunk/doc/pcre2pattern.3
===================================================================
--- code/trunk/doc/pcre2pattern.3    2017-08-28 14:59:04 UTC (rev 856)
+++ code/trunk/doc/pcre2pattern.3    2017-09-12 11:41:31 UTC (rev 857)
@@ -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 @@
   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 @@
 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 @@
 .rs
 .sp
 .nf
-Last updated: 29 July 2017
+Last updated: 12 September 2017
 Copyright (c) 1997-2017 University of Cambridge.
 .fi


Modified: code/trunk/src/pcre2.h
===================================================================
--- code/trunk/src/pcre2.h    2017-08-28 14:59:04 UTC (rev 856)
+++ code/trunk/src/pcre2.h    2017-09-12 11:41:31 UTC (rev 857)
@@ -42,9 +42,9 @@
 /* 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