Correct out-of-date comments in the code.
This commit is contained in:
parent
6a15c1cbcc
commit
e5f1ac32c0
|
@ -286,8 +286,7 @@ return 0;
|
||||||
|
|
||||||
/* A suitable match_data block, large enough to hold all possible captures, was
|
/* 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
|
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
|
for each match. If REG_NOSUB was specified at compile time, the nmatch and
|
||||||
PCRE_NO_AUTO_CAPTURE flag will be set. When this is the case, the nmatch and
|
|
||||||
pmatch arguments are ignored, and the only result is yes/no/error. */
|
pmatch arguments are ignored, and the only result is yes/no/error. */
|
||||||
|
|
||||||
PCRE2POSIX_EXP_DEFN int PCRE2_CALL_CONVENTION
|
PCRE2POSIX_EXP_DEFN int PCRE2_CALL_CONVENTION
|
||||||
|
|
|
@ -56,7 +56,7 @@ extern "C" {
|
||||||
#define REG_NOTBOL 0x0004 /* Maps to PCRE2_NOTBOL */
|
#define REG_NOTBOL 0x0004 /* Maps to PCRE2_NOTBOL */
|
||||||
#define REG_NOTEOL 0x0008 /* Maps to PCRE2_NOTEOL */
|
#define REG_NOTEOL 0x0008 /* Maps to PCRE2_NOTEOL */
|
||||||
#define REG_DOTALL 0x0010 /* NOT defined by POSIX; maps to PCRE2_DOTALL */
|
#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_UTF 0x0040 /* NOT defined by POSIX; maps to PCRE2_UTF */
|
||||||
#define REG_STARTEND 0x0080 /* BSD feature: pass subject string by so,eo */
|
#define REG_STARTEND 0x0080 /* BSD feature: pass subject string by so,eo */
|
||||||
#define REG_NOTEMPTY 0x0100 /* NOT defined by POSIX; maps to PCRE2_NOTEMPTY */
|
#define REG_NOTEMPTY 0x0100 /* NOT defined by POSIX; maps to PCRE2_NOTEMPTY */
|
||||||
|
|
Loading…
Reference in New Issue