Re: [pcre-dev] Document SKIP position before or equal start_offset

2019-06-22 Thread ph10
On Sat, 22 Jun 2019, ND via Pcre-dev wrote: > >If (*SKIP) is used inside a lookbehind to specify a new starting > >position... > > I suggest to remove "inside a lookbehind". > A new starting position that is not later than the starting point of the > current match may occur without lookbehind:

Re: [pcre-dev] Document SKIP position before or equal start_offset

2019-06-22 Thread ND via Pcre-dev
Updated docs: If (*SKIP) is used inside a lookbehind to specify a new starting position... I suggest to remove "inside a lookbehind". A new starting position that is not later than the starting point of the current match may occur without lookbehind: PCRE2 version 10.33 2019-04-16

Re: [pcre-dev] Document SKIP position before or equal start_offset

2019-06-20 Thread ND via Pcre-dev
On 2019-06-20 16:29, ph10 wrote: I have updated the documentation. Updated docs: If (*SKIP) is used inside a lookbehind to specify a new starting point that is not later than the starting point of the current match, it is ignored, and the normal "bumpalong" occurs. May be "it is

Re: [pcre-dev] Document SKIP position before or equal start_offset

2019-06-20 Thread ph10
On Mon, 17 Jun 2019, ND via Pcre-dev wrote: > I don't find in docs behaviour of SKIP when corresponding position is before > or equal start_offset. > It seems that in this case a "bumpalong" advance is 1, not SKIP or associated > MARK position. Yes, that is true. The code contains this comment:

[pcre-dev] Document SKIP position before or equal start_offset

2019-06-17 Thread ND via Pcre-dev
Good day! I don't find in docs behaviour of SKIP when corresponding position is before or equal start_offset. It seems that in this case a "bumpalong" advance is 1, not SKIP or associated MARK position. /(?<=a(*SKIP)x)|c/ abcd\=offset=2 No match /(*SKIP)x|c/ abcd No match