Re: [pcre-dev] Partial matching in PCRE

Pàgina inicial
Delete this message
Autor: ND
Data:  
A: pcre-dev
Assumpte: Re: [pcre-dev] Partial matching in PCRE
Philip Hazel <ph10@???> писал(а) в своём письме Tue, 01 Sep
2009 18:23:30 +0400:

>> >> What do you think about adding following PCRE behavior:
>> >>
>> >> The return code PCRE_ERROR_MULTISEGMENT raised, and matching abandons
>> >> immediately if at any time during the matching process PCRE needs to
>> >> check (not bumpalong) the next symbol of subject string, but
>> discovers
>> >> an end of string. An extra parameter - last_bumpalong_offset - is
>> >> returned.
> I have implemented a new option called PCRE_PARTIAL_HARD, which has this
> behaviour, except that it returns PCRE_ERROR_PARTIAL because I did not
> see the need to have a different return code. (I have also renamed
> PCRE_PARTIAL as PCRE_PARTIAL_SOFT, but kept the old name as a synonym
> for compatibility.)
> All this work has now been committed to the subversion code repository,
> with updated documentation.


Thanx for great work.
I read the changelog but dont find, that last bumpalong offset is
returned. Is there?