diff --git a/doc/html/pcre2pattern.html b/doc/html/pcre2pattern.html index 3c915d4..f3e4106 100644 --- a/doc/html/pcre2pattern.html +++ b/doc/html/pcre2pattern.html @@ -3517,6 +3517,11 @@ next attempt at "c". Note that a possessive quantifer does not have the same effect as this example; although it would suppress backtracking during the first match attempt, the second attempt would start at the second character instead of skipping on to "c". +

+

+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.

   (*SKIP:NAME)
 
diff --git a/doc/pcre2.txt b/doc/pcre2.txt index b56a7a7..5d89e90 100644 --- a/doc/pcre2.txt +++ b/doc/pcre2.txt @@ -9219,6 +9219,10 @@ BACKTRACKING CONTROL attempt would start at the second character instead of skipping on to "c". + 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. + (*SKIP:NAME) When (*SKIP) has an associated name, its behaviour is modified. When diff --git a/doc/pcre2pattern.3 b/doc/pcre2pattern.3 index 32eb14a..6ae5b6d 100644 --- a/doc/pcre2pattern.3 +++ b/doc/pcre2pattern.3 @@ -3558,6 +3558,10 @@ next attempt at "c". Note that a possessive quantifer does not have the same effect as this example; although it would suppress backtracking during the first match attempt, the second attempt would start at the second character instead of skipping on to "c". +.P +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. .sp (*SKIP:NAME) .sp