Update explanatory comment.

This commit is contained in:
Philip.Hazel 2018-11-27 10:42:59 +00:00
parent 57f1eca640
commit 9e4e6feee7
1 changed files with 14 additions and 11 deletions

View File

@ -6886,7 +6886,10 @@ match_data->mark = mb->nomatch_mark;
if (rc != MATCH_NOMATCH && rc != PCRE2_ERROR_PARTIAL) match_data->rc = rc;
/* Handle a partial match. */
/* Handle a partial match. If a "soft" partial match was requested, searching
for a complete match will have continued, and the value of rc at this point
will be MATCH_NOMATCH. For a "hard" partial match, it will already be
PCRE2_ERROR_PARTIAL. */
else if (match_partial != NULL)
{