Revision: 589
http://www.exim.org/viewvc/pcre2?view=rev&revision=589
Author: ph10
Date: 2016-11-02 09:56:27 +0000 (Wed, 02 Nov 2016)
Log Message:
-----------
Correct out-of-date comments in the code.
Modified Paths:
--------------
code/trunk/src/pcre2posix.c
code/trunk/src/pcre2posix.h
Modified: code/trunk/src/pcre2posix.c
===================================================================
--- code/trunk/src/pcre2posix.c 2016-11-01 17:45:54 UTC (rev 588)
+++ code/trunk/src/pcre2posix.c 2016-11-02 09:56:27 UTC (rev 589)
@@ -286,8 +286,7 @@
/* A suitable match_data block, large enough to hold all possible captures, was
obtained when the pattern was compiled, to save having to allocate and free it
-for each match. If REG_NOSUB was specified at compile time, the
-PCRE_NO_AUTO_CAPTURE flag will be set. When this is the case, the nmatch and
+for each match. If REG_NOSUB was specified at compile time, the nmatch and
pmatch arguments are ignored, and the only result is yes/no/error. */
PCRE2POSIX_EXP_DEFN int PCRE2_CALL_CONVENTION
Modified: code/trunk/src/pcre2posix.h
===================================================================
--- code/trunk/src/pcre2posix.h 2016-11-01 17:45:54 UTC (rev 588)
+++ code/trunk/src/pcre2posix.h 2016-11-02 09:56:27 UTC (rev 589)
@@ -56,7 +56,7 @@
#define REG_NOTBOL 0x0004 /* Maps to PCRE2_NOTBOL */
#define REG_NOTEOL 0x0008 /* Maps to PCRE2_NOTEOL */
#define REG_DOTALL 0x0010 /* NOT defined by POSIX; maps to PCRE2_DOTALL */
-#define REG_NOSUB 0x0020 /* Maps to PCRE2_NO_AUTO_CAPTURE */
+#define REG_NOSUB 0x0020 /* Do not report what was matched */
#define REG_UTF 0x0040 /* NOT defined by POSIX; maps to PCRE2_UTF */
#define REG_STARTEND 0x0080 /* BSD feature: pass subject string by so,eo */
#define REG_NOTEMPTY 0x0100 /* NOT defined by POSIX; maps to PCRE2_NOTEMPTY */