------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1368




--- Comment #2 from Sébastien Wilmet <[email protected]>  2013-07-14 20:31:07 
---
OK, so the safer way is to use pcre_exec() with PCRE_PARTIAL_HARD, with a
larger segment if a partial match is returned, until a complete match is found,
or there is no match.

However we can see in the documentation (in the "ISSUES WITH MULTI-SEGMENT
MATCHING" section):

> 4. Matching a subject string that is split into multiple  segments  may
> not  always produce exactly the same result as matching over one single
> long string, especially when PCRE_PARTIAL_SOFT  is  used.

Is it also true for pcre_exec() with PCRE_PARTIAL_HARD?


-- 
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to