From a15528e56508e096881013122bb336035cdfa5b3 Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Fri, 30 Oct 2015 18:30:43 +0000 Subject: [PATCH] Document regerror_buffsize feature added to pcre2test. --- doc/pcre2test.1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/pcre2test.1 b/doc/pcre2test.1 index cc9d890..1e6f03b 100644 --- a/doc/pcre2test.1 +++ b/doc/pcre2test.1 @@ -787,6 +787,15 @@ modifiers set options for the \fBregcomp()\fP function: ucp REG_UCP ) the POSIX standard utf REG_UTF8 ) .sp +The \fBregerror_buffsize\fP modifier specifies a size for the error buffer that +is passed to \fBregerror()\fP in the event of a compilation error. For example: +.sp + /abc/posix,regerror_buffsize=20 +.sp +This provides a means of testing the behaviour of \fBregerror()\fP when the +buffer is too small for the error message. If this modifier has not been set, a +large buffer is used. +.P The \fBaftertext\fP and \fBallaftertext\fP subject modifiers work as described below. All other modifiers cause an error. .