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:
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
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
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:
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