Lähettäjä: ND Päiväys: Vastaanottaja: Pcre-dev Aihe: [pcre-dev] Anchored patterns doesn't match with \K in lookbehind
Good day.
Here is pcretest output:
PCRE2 version 10.31 2018-02-12
/(?<=\K.)/anchored
ab
No match
As documented, "the pattern is forced to be "anchored", that is, it is
constrained to match only at the first matching point in the string that
is being searched".
Match "a" at first matching point expected. But output is "no match".