Re: [pcre-dev] Partial matching in PCRE

Top Page
Delete this message
Author: MX
Date:  
To: pcre-dev
Subject: 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