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

Góra strony
Delete this message
Autor: Philip Hazel
Data:  
Dla: MX
CC: pcre-dev
Temat: Re: [pcre-dev] 'Hard' partial matching don't work with some assertions
On Sat, 28 Aug 2010, MX wrote:

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


As I keep on repeating: The "partial" options are about partial
MATCHING, not about partial STRINGS. You did NOT tell PCRE that the
subject string is not complete. You asked it to tell you if the string
you gave partially matches the pattern. That is the way it works.


Philip

--
Philip Hazel