Re: [pcre-dev] [Bug 1233] Segfault at replacement in long st…

Página superior
Eliminar este mensaje
Autor: ND
Fecha:  
A: Pcre-dev
Asunto: Re: [pcre-dev] [Bug 1233] Segfault at replacement in long string
On 2012-05-10 07:28, Bart McLeod wrote:
> What I was trying to accomplish was to
> allow in the matched string anything but the quote ('), but at the same
> time
> allow an escaped quote (\').


May followed regexp be less hungry:

/'.*?'(?<!\\')/