diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-12-12 18:45:40 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-12-12 18:45:40 +0000 |
commit | 0907578efad19db5f0106c7d4f095ec93ef1aa7c (patch) | |
tree | 6c0896fa64a0bb3eb9a0c1b63e0182a8759d9331 /doc/pcre2_substitute.3 | |
parent | 964cd0a2e247f9fd0d0c4937a467deb3740ac322 (diff) | |
download | pcre2-0907578efad19db5f0106c7d4f095ec93ef1aa7c.tar.gz |
Implement PCRE2_SUBSTITUTE_{OVERFLOW_LENGTH,UNKNOWN_UNSET}.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@465 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'doc/pcre2_substitute.3')
-rw-r--r-- | doc/pcre2_substitute.3 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/pcre2_substitute.3 b/doc/pcre2_substitute.3 index 55d58d2..74b5849 100644 --- a/doc/pcre2_substitute.3 +++ b/doc/pcre2_substitute.3 @@ -1,4 +1,4 @@ -.TH PCRE2_SUBSTITUTE 3 "04 December 2015" "PCRE2 10.21" +.TH PCRE2_SUBSTITUTE 3 "12 December 2015" "PCRE2 10.21" .SH NAME PCRE2 - Perl-compatible regular expressions (revised API) .SH SYNOPSIS @@ -58,6 +58,8 @@ The options are: PCRE2_UTF was set at compile time) PCRE2_SUBSTITUTE_EXTENDED Do extended replacement processing PCRE2_SUBSTITUTE_GLOBAL Replace all occurrences in the subject + PCRE2_SUBSTITUTE_OVERFLOW_LENGTH If overflow, compute needed length + PCRE2_SUBSTITUTE_UNKNOWN_UNSET Treat unknown group as unset PCRE2_SUBSTITUTE_UNSET_EMPTY Simple unset insert = empty string .sp The function returns the number of substitutions, which may be zero if there |