From 5ccce6d6546b311aff95423119752a1bec1aa0a2 Mon Sep 17 00:00:00 2001 From: ph10 Date: Wed, 28 Apr 2021 15:37:48 +0000 Subject: Documentation update git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1308 6239d852-aaf2-0410-a92c-79f79f948069 --- doc/html/pcre2test.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'doc/html/pcre2test.html') diff --git a/doc/html/pcre2test.html b/doc/html/pcre2test.html index 4a7e55f..3a7a9b7 100644 --- a/doc/html/pcre2test.html +++ b/doc/html/pcre2test.html @@ -1213,7 +1213,7 @@ Setting match controls 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.
       aftertext                  show text after match
       allaftertext               show text after captures
@@ -1421,6 +1421,11 @@ 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.
 

+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. +

+

Unlike subject strings, pcre2test 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 @@ -2119,9 +2124,9 @@ Cambridge, England.


REVISION

-Last updated: 14 September 2020 +Last updated: 28 April 2021
-Copyright © 1997-2020 University of Cambridge. +Copyright © 1997-2021 University of Cambridge.

Return to the PCRE2 index page. -- cgit v1.2.1