From ab5bec78a6f8d493b59abc1ae6102dfe441f1145 Mon Sep 17 00:00:00 2001 From: ph10 Date: Wed, 28 Apr 2021 14:21:38 +0000 Subject: Documentation and tests update. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1307 6239d852-aaf2-0410-a92c-79f79f948069 --- doc/pcre2test.1 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'doc/pcre2test.1') diff --git a/doc/pcre2test.1 b/doc/pcre2test.1 index c63f03d..7331e2e 100644 --- a/doc/pcre2test.1 +++ b/doc/pcre2test.1 @@ -1,4 +1,4 @@ -.TH PCRE2TEST 1 "14 September 2020" "PCRE 10.36" +.TH PCRE2TEST 1 "28 April 2021" "PCRE 10.37" .SH NAME pcre2test - a program for testing Perl-compatible regular expressions. .SH SYNOPSIS @@ -1180,7 +1180,7 @@ its input), you must use \fBposix_startend\fP to specify its length. The following modifiers affect the matching process or request additional information. Some of them may also be specified on a pattern line (see above), in which case they apply to every subject line that is matched against that -pattern. +pattern, but can be overridden by modifiers on the subject. .sp aftertext show text after match allaftertext show text after captures @@ -1389,6 +1389,10 @@ called instead of one of the matching functions (or after one call of replacement strings cannot contain commas, because a comma signifies the end of a modifier. This is not thought to be an issue in a test program. .P +Specifying a completely empty replacement string disables this modifier. +However, it is possible to specify an empty replacement by providing a buffer +length, as described below, for an otherwise empty replacement. +.P Unlike subject strings, \fBpcre2test\fP does not process replacement strings for escape sequences. In UTF mode, a replacement string is checked to see if it is a valid UTF-8 string. If so, it is correctly converted to a UTF string of @@ -2101,6 +2105,6 @@ Cambridge, England. .rs .sp .nf -Last updated: 14 September 2020 -Copyright (c) 1997-2020 University of Cambridge. +Last updated: 28 April 2021 +Copyright (c) 1997-2021 University of Cambridge. .fi -- cgit v1.2.1