Re: [pcre-dev] PCRE feature request - "backwards" search

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: M.Taylor
CC: pcre-dev
Sujet: Re: [pcre-dev] PCRE feature request - "backwards" search
On Fri, 17 Sep 2010, M.Taylor wrote:

>    1. the option to return the last (most "right-hand") match instead of
>    the first; *and*


That is handled by my previous suggestion.

>    2. return the left-hand (or "start") point of the matching substring,
>    in addition to the right-hand (or "end") point of the match.


But that is normal PCRE behaviour ... it identifies the entire substring
that matched by giving its start and end offsets.

Philip

--
Philip Hazel