Autor: ph10 Data: A: ND CC: Pcre-dev Assumpte: Re: [pcre-dev] Memory overflow when using replace modifier upon
pattern with \K in lookbehind assertion
On Thu, 31 May 2018, ND via Pcre-dev wrote:
> PCRE2 version 10.31 2018-02-12
> /(?<=\K.)/g,replace=-
> ab
> Failed: error -48: no more memory
>
>
> It seems like a bug.
The bug is that it gives a silly error message. I have fixed it. It now
says
Failed: error -60: match with end before start or start moved backwards is not supported