From 55f5d081c04b7c8e6b5867ccfad3c731a2cc6870 Mon Sep 17 00:00:00 2001 From: ph10 Date: Sat, 25 Mar 2017 17:50:54 +0000 Subject: Documentation update. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@709 6239d852-aaf2-0410-a92c-79f79f948069 --- doc/pcre2test.txt | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'doc/pcre2test.txt') diff --git a/doc/pcre2test.txt b/doc/pcre2test.txt index 6ce7220..4169784 100644 --- a/doc/pcre2test.txt +++ b/doc/pcre2test.txt @@ -1234,12 +1234,16 @@ SUBJECT MODIFIERS Showing memory usage - The memory modifier causes pcre2test to log all heap memory allocation - and freeing calls that occur during a call to pcre2_match(). These - occur only when a match requires a bigger vector than the default for - remembering backtracking points. In many cases there will be none. No - heap memory is allocated during matching with pcre2_dfa_match or with - JIT. + The memory modifier causes pcre2test to log the sizes of all heap mem- + ory allocation and freeing calls that occur during a call to + pcre2_match(). These occur only when a match requires a bigger vector + than the default for remembering backtracking points. In many cases + there will be no heap memory used and therefore no additional output. + No heap memory is allocated during matching with pcre2_dfa_match or + with JIT, so in those cases the memory modifier never has any effect. + For this modifier to work, the null_context modifier must not be set on + both the pattern and the subject, though it can be set on one or the + other. Setting a starting offset @@ -1626,5 +1630,5 @@ AUTHOR REVISION - Last updated: 24 March 2017 + Last updated: 25 March 2017 Copyright (c) 1997-2017 University of Cambridge. -- cgit v1.2.1