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

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: M.Taylor
CC: pcre-dev
Subject: 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