[Pcre-svn] [403] code/trunk/doc/pcre2test.1: Document reger…

トップ ページ
このメッセージを削除
著者: Subversion repository
日付:  
To: pcre-svn
題目: [Pcre-svn] [403] code/trunk/doc/pcre2test.1: Document regerror_buffsize feature added to pcre2test.
Revision: 403
          http://www.exim.org/viewvc/pcre2?view=rev&revision=403
Author:   ph10
Date:     2015-10-30 18:30:43 +0000 (Fri, 30 Oct 2015)
Log Message:
-----------
Document regerror_buffsize feature added to pcre2test.


Modified Paths:
--------------
    code/trunk/doc/pcre2test.1


Modified: code/trunk/doc/pcre2test.1
===================================================================
--- code/trunk/doc/pcre2test.1    2015-10-30 18:25:19 UTC (rev 402)
+++ code/trunk/doc/pcre2test.1    2015-10-30 18:30:43 UTC (rev 403)
@@ -787,6 +787,15 @@
   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.
 .