Quote:
Originally Posted by jjk
\K which resets the starting point of the reported match
|
Yes. \K is the same as a
positive Lookbehind. As in the latter, we can have capture groups in the subpattern preceding \K. I use it because it is compatible with the PCRE flavor which rejects variable length
Lookbehind. And I am building my regex in regex101.com with the PCRE flavor and gmu flags.