[pcre-dev] [Bug 2191] New: Incorrect description of return v…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2191] New: Incorrect description of return value of pcre2_match in man 3 pcre2_match
https://bugs.exim.org/show_bug.cgi?id=2191

            Bug ID: 2191
           Summary: Incorrect description of return value of pcre2_match
                    in man 3 pcre2_match
           Product: PCRE
           Version: 10.30 (PCRE2)
          Hardware: x86
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Documentation
          Assignee: ph10@???
          Reporter: mail@???
                CC: pcre-dev@???


On the return value of pcre2_match, man 3 pcre2_match says:

> It returns offsets to captured substrings.


but man 3 pcre2api says:

> The value returned by pcre2_match() is one more than the highest numbered pair that has been set.


I think man 3 pcre2api's is correct.

--
You are receiving this mail because:
You are on the CC list for the bug.