Re: [pcre-dev] 'Hard' partial matching don't work with some …

Kezdőlap
Üzenet törlése
Szerző: ND
Dátum:  
Címzett: Pcre-dev
Tárgy: Re: [pcre-dev] 'Hard' partial matching don't work with some assertions

> In your examples, there *are* enough subject characters to complete the
> match (because it doesn't need any subject characters at all).


> The pattern has completely matched, after all.


When I pass partial 'hard' option to pcre_exec() than I told to PCRE that
subject string is incomplete and may be continued. And what reason is why
PCRE successfully applied 'end of whole string' '\z' to incomplete string?

Thanx.