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

Góra strony
Delete this message
Autor: Philip Hazel
Data:  
Dla: M.Taylor
CC: pcre-dev
Temat: 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