Re: [pcre-dev] Updates to substring handling

Αρχική Σελίδα
Delete this message
Συντάκτης: ph10
Ημερομηνία:  
Προς: Ralf Junker
Υ/ο: pcre-dev
Αντικείμενο: Re: [pcre-dev] Updates to substring handling
On Fri, 19 Dec 2014, Ralf Junker wrote:

> Philip, my apologies for the delay, I was caught up with other things.


Not a problem. I understand that people have Real Lives. :-)

> Unfortunately, I discovered a problem with the new
> pcre2_substring_length_by_number(): It no longer works if pcre2_match()
> returned PCRE2_PARTIAL.


I don't think I'd ever thought about extracting substrings after a
partial match - assuming that people would want to proceed to getting a
full match before doing that. I'll take a look.

> I also noticed that the pcre2_substring_length_bynumber.3 file does not
> reflect that *sizeptr may be NULL and the new return values.


Thanks.

Philip

--
Philip Hazel