Re: [pcre-dev] Partial matching in PCRE

トップ ページ
このメッセージを削除
著者: Philip Hazel
日付:  
To: ND
CC: pcre-dev
題目: Re: [pcre-dev] Partial matching in PCRE
On Tue, 1 Sep 2009, ND wrote:

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


Yes it is.

9.  The restrictions on what a pattern can contain when partial matching is
    requested for pcre_exec() have been removed. All patterns can now be 
    partially matched by this function. In addition, if there are at least two
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    slots in the offset vector, the offsets of the first-encountered partial
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    match are set in them when PCRE_ERROR_PARTIAL is returned.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Philip

--
Philip Hazel