diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-08-01 16:59:50 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-08-01 16:59:50 +0000 |
commit | 8d9f53db1e8cc59ae1bdac04a40bb5bad55e1a44 (patch) | |
tree | c2f8aed6d55842d3a8d2fb92db9c529d4e166ae9 /src | |
parent | 536d60c4c0c66285a9cd231e4e7b346ee30a339c (diff) | |
download | pcre2-8d9f53db1e8cc59ae1bdac04a40bb5bad55e1a44.tar.gz |
Comments updates.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1154 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src')
-rw-r--r-- | src/pcre2_match.c | 6 | ||||
-rw-r--r-- | src/pcre2_study.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/pcre2_match.c b/src/pcre2_match.c index 84b6ffd..26fc01e 100644 --- a/src/pcre2_match.c +++ b/src/pcre2_match.c @@ -6024,9 +6024,9 @@ Arguments: Returns: > 0 => success; value is the number of ovector pairs filled = 0 => success, but ovector is not big enough - -1 => failed to match (PCRE2_ERROR_NOMATCH) - -2 => partial match (PCRE2_ERROR_PARTIAL) - < -2 => some kind of unexpected problem + = -1 => failed to match (PCRE2_ERROR_NOMATCH) + = -2 => partial match (PCRE2_ERROR_PARTIAL) + < -2 => some kind of unexpected problem */ PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION diff --git a/src/pcre2_study.c b/src/pcre2_study.c index 3fe2997..56b2fa9 100644 --- a/src/pcre2_study.c +++ b/src/pcre2_study.c @@ -1584,7 +1584,9 @@ return yield; /* This function is handed a compiled expression that it must study to produce information that will speed up the matching. -Argument: points to the compiled expression +Argument: + re points to the compiled expression + Returns: 0 normally; non-zero should never normally occur 1 unknown opcode in set_start_bits 2 missing capturing bracket |