Re: [pcre-dev] Partial matching in PCRE

Inizio della pagina
Delete this message
Autore: MX
Data:  
To: pcre-dev
Oggetto: 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