Re: [pcre-dev] Partial matching in PCRE

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