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

Página Principal
Apagar esta mensagem
Autor: ND
Data:  
Para: Pcre-dev
Assunto: 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:

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