Revision: 1078
http://www.exim.org/viewvc/pcre2?view=rev&revision=1078
Author: ph10
Date: 2019-03-04 18:04:44 +0000 (Mon, 04 Mar 2019)
Log Message:
-----------
Final file tidies for 10.33-RC1
Modified Paths:
--------------
code/trunk/AUTHORS
code/trunk/ChangeLog
code/trunk/LICENCE
code/trunk/NEWS
code/trunk/README
code/trunk/configure.ac
code/trunk/doc/pcre2build.3
Modified: code/trunk/AUTHORS
===================================================================
--- code/trunk/AUTHORS 2019-03-01 16:19:49 UTC (rev 1077)
+++ code/trunk/AUTHORS 2019-03-04 18:04:44 UTC (rev 1078)
@@ -8,7 +8,7 @@
University of Cambridge Computing Service,
Cambridge, England.
-Copyright (c) 1997-2018 University of Cambridge
+Copyright (c) 1997-2019 University of Cambridge
All rights reserved
@@ -19,7 +19,7 @@
Email local part: hzmester
Emain domain: freemail.hu
-Copyright(c) 2010-2018 Zoltan Herczeg
+Copyright(c) 2010-2019 Zoltan Herczeg
All rights reserved.
@@ -30,7 +30,7 @@
Email local part: hzmester
Emain domain: freemail.hu
-Copyright(c) 2009-2018 Zoltan Herczeg
+Copyright(c) 2009-2019 Zoltan Herczeg
All rights reserved.
####
Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog 2019-03-01 16:19:49 UTC (rev 1077)
+++ code/trunk/ChangeLog 2019-03-04 18:04:44 UTC (rev 1078)
@@ -2,8 +2,8 @@
--------------------
-Version 10.33-RC1 15-September-2018
------------------------------------
+Version 10.33-RC1 03-March-2019
+-------------------------------
1. Added "allvector" to pcre2test to make it easy to check the part of the
ovector that shouldn't be changed, in particular after substitute and failed or
Modified: code/trunk/LICENCE
===================================================================
--- code/trunk/LICENCE 2019-03-01 16:19:49 UTC (rev 1077)
+++ code/trunk/LICENCE 2019-03-04 18:04:44 UTC (rev 1078)
@@ -26,7 +26,7 @@
University of Cambridge Computing Service,
Cambridge, England.
-Copyright (c) 1997-2018 University of Cambridge
+Copyright (c) 1997-2019 University of Cambridge
All rights reserved.
@@ -37,7 +37,7 @@
Email local part: hzmester
Email domain: freemail.hu
-Copyright(c) 2010-2018 Zoltan Herczeg
+Copyright(c) 2010-2019 Zoltan Herczeg
All rights reserved.
@@ -48,7 +48,7 @@
Email local part: hzmester
Email domain: freemail.hu
-Copyright(c) 2009-2018 Zoltan Herczeg
+Copyright(c) 2009-2019 Zoltan Herczeg
All rights reserved.
Modified: code/trunk/NEWS
===================================================================
--- code/trunk/NEWS 2019-03-01 16:19:49 UTC (rev 1077)
+++ code/trunk/NEWS 2019-03-04 18:04:44 UTC (rev 1078)
@@ -2,6 +2,54 @@
-------------------------
+Version 10.33-RC1 03-March-2019
+-------------------------------
+
+Yet more bugfixes, tidies, and a few enhancements, summarized here (see
+ChangeLog for the full list):
+
+1. Callouts from pcre2_substitute() are now available.
+
+2. The POSIX functions are now all called pcre2_regcomp() etc., with wrapper
+functions that use the standard POSIX names. However, in pcre2posix.h the POSIX
+names are defined as macros. This should help avoid linking with the wrong
+library in some environments, while still exporting the POSIX names for
+pre-existing programs that use them.
+
+3. Some new options:
+
+ (a) PCRE2_EXTRA_ESCAPED_CR_IS_LF makes \r behave as \n.
+
+ (b) PCRE2_EXTRA_ALT_BSUX enables support for ECMAScript 6's \u{hh...}
+ construct.
+
+ (c) PCRE2_COPY_MATCHED_SUBJECT causes a copy of a matched subject to be
+ made, instead of just remembering a pointer.
+
+4. Some new Perl features:
+
+ (a) Perl 5.28's experimental alphabetic names for atomic groups and
+ lookaround assertions, for example, (*pla:...) and (*atomic:...).
+
+ (b) The new Perl "script run" features (*script_run:...) and
+ (*atomic_script_run:...) aka (*sr:...) and (*asr:...).
+
+ (c) When PCRE2_UTF is set, allow non-ASCII letters and decimal digits in
+ capture group names.
+
+5. --disable-percent-zt disables the use of %zu and %td in formatting strings
+in pcre2test. They were already automatically disabled for VC and older C
+compilers.
+
+6. Some changes related to callouts in pcre2grep:
+
+ (a) Support for running an external program under VMS has been added, in
+ addition to Windows and fork() support.
+
+ (b) --disable-pcre2grep-callout-fork restricts the callout support in
+ to the inbuilt echo facility.
+
+
Version 10.32 10-September-2018
-------------------------------
Modified: code/trunk/README
===================================================================
--- code/trunk/README 2019-03-01 16:19:49 UTC (rev 1077)
+++ code/trunk/README 2019-03-04 18:04:44 UTC (rev 1078)
@@ -311,7 +311,11 @@
. There is support for calling external programs during matching in the
pcre2grep command, using PCRE2's callout facility with string arguments. This
support can be disabled by adding --disable-pcre2grep-callout to the
- "configure" command.
+ "configure" command. There are two kinds of callout: one that generates
+ output from inbuilt code, and another that calls an external program. The
+ latter has special support for Windows and VMS; otherwise it assumes the
+ existence of the fork() function. This facility can be disabled by adding
+ --disable-pcre2grep-callout-fork to the "configure" command.
. The pcre2grep program currently supports only 8-bit data files, and so
requires the 8-bit PCRE2 library. It is possible to compile pcre2grep to use
@@ -340,7 +344,7 @@
The default is either 1048576 or the value of --with-pcre2grep-bufsize,
whichever is the larger.
-
+
. It is possible to compile pcre2test so that it links with the libreadline
or libedit libraries, by specifying, respectively,
@@ -886,4 +890,4 @@
Philip Hazel
Email local part: ph10
Email domain: cam.ac.uk
-Last updated: 29 January 2019
+Last updated: 03 March 2019
Modified: code/trunk/configure.ac
===================================================================
--- code/trunk/configure.ac 2019-03-01 16:19:49 UTC (rev 1077)
+++ code/trunk/configure.ac 2019-03-04 18:04:44 UTC (rev 1078)
@@ -11,16 +11,16 @@
m4_define(pcre2_major, [10])
m4_define(pcre2_minor, [33])
m4_define(pcre2_prerelease, [-RC1])
-m4_define(pcre2_date, [2018-09-14])
+m4_define(pcre2_date, [2019-03-03])
# 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.
# Libtool shared library interface versions (current:revision:age)
-m4_define(libpcre2_8_version, [7:1:7])
-m4_define(libpcre2_16_version, [7:1:7])
-m4_define(libpcre2_32_version, [7:1:7])
-m4_define(libpcre2_posix_version, [2:1:0])
+m4_define(libpcre2_8_version, [8:0:8])
+m4_define(libpcre2_16_version, [8:0:8])
+m4_define(libpcre2_32_version, [8:0:8])
+m4_define(libpcre2_posix_version, [2:2:0])
AC_PREREQ(2.57)
AC_INIT(PCRE2, pcre2_major.pcre2_minor[]pcre2_prerelease, , pcre2)
Modified: code/trunk/doc/pcre2build.3
===================================================================
--- code/trunk/doc/pcre2build.3 2019-03-01 16:19:49 UTC (rev 1077)
+++ code/trunk/doc/pcre2build.3 2019-03-04 18:04:44 UTC (rev 1078)
@@ -1,4 +1,4 @@
-.TH PCRE2BUILD 3 "15 November 2018" "PCRE2 10.33"
+.TH PCRE2BUILD 3 "03 March 2019" "PCRE2 10.33"
.SH NAME
PCRE2 - Perl-compatible regular expressions (revised API)
.
@@ -373,14 +373,17 @@
.SH "PCRE2GREP SUPPORT FOR EXTERNAL SCRIPTS"
.rs
.sp
-By default, on non-Windows systems, \fBpcre2grep\fP supports the use of
-callouts with string arguments within the patterns it is matching, in order to
-run external scripts. For details, see the
+By default \fBpcre2grep\fP supports the use of callouts with string arguments
+within the patterns it is matching. There are two kinds: one that generates
+output using local code, and another that calls an external program or script.
+If --disable-pcre2grep-callout-fork is added to the \fBconfigure\fP command,
+only the first kind of callout is supported; if --disable-pcre2grep-callout is
+used, all callouts are completely ignored. For more details of \fBpcre2grep\fP
+callouts, see the
.\" HREF
\fBpcre2grep\fP
.\"
-documentation. This support can be disabled by adding
---disable-pcre2grep-callout to the \fBconfigure\fP command.
+documentation.
.
.
.SH "PCRE2GREP OPTIONS FOR COMPRESSED FILE SUPPORT"
@@ -536,14 +539,14 @@
.SH "DISABLING THE Z AND T FORMATTING MODIFIERS"
.rs
.sp
-The C99 standard defines formatting modifiers z and t for size_t and
-ptrdiff_t values, respectively. By default, PCRE2 uses these modifiers in
-environments other than Microsoft Visual Studio when __STDC_VERSION__ is
+The C99 standard defines formatting modifiers z and t for size_t and
+ptrdiff_t values, respectively. By default, PCRE2 uses these modifiers in
+environments other than Microsoft Visual Studio when __STDC_VERSION__ is
defined and has a value greater than or equal to 199901L (indicating C99).
However, there is at least one environment that claims to be C99 but does not
-support these modifiers. If
+support these modifiers. If
.sp
- --disable-percent-zt
+ --disable-percent-zt
.sp
is specified, no use is made of the z or t modifiers. Instead or %td or %zu,
%lu is used, with a cast for size_t values.
@@ -607,6 +610,6 @@
.rs
.sp
.nf
-Last updated: 15 November 2018
-Copyright (c) 1997-2018 University of Cambridge.
+Last updated: 03 March 2019
+Copyright (c) 1997-2019 University of Cambridge.
.fi