diff options
Diffstat (limited to 'doc/html/pcre2test.html')
-rw-r--r-- | doc/html/pcre2test.html | 11 |
1 files changed, 8 insertions, 3 deletions
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. <pre> 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. </P> <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> +<P> Unlike subject strings, <b>pcre2test</b> 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. </P> <br><a name="SEC21" href="#TOC1">REVISION</a><br> <P> -Last updated: 14 September 2020 +Last updated: 28 April 2021 <br> -Copyright © 1997-2020 University of Cambridge. +Copyright © 1997-2021 University of Cambridge. <br> <p> Return to the <a href="index.html">PCRE2 index page</a>. |