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

Page principale
Supprimer ce message
Auteur: ND
Date:  
À: Pcre-dev
Sujet: 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:

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