Re: [pcre-dev] Partial matching in PCRE

Página Principal
Apagar esta mensagem
Autor: MX
Data:  
Para: pcre-dev
Assunto: Re: [pcre-dev] Partial matching in PCRE
>
> I took a look at the code, and it turned out to be surprisingly easy to
> fix this. I have committed code that yields the first inspected
> character that was used in the partial match. If your pattern is
> /(<=foo)bar/ and your string is "abcfooba" the partial match yields
> "fooba". The same with /foo\Kbar/.
>
> I hope this is what you want!


Yes. Thanx very match.

Michael