On Sat, 21 Jan 2012 16:39:01 +0400, Philip Hazel <[email protected]> wrote:

On Sat, 21 Jan 2012, ND wrote:

PCRE version 8.21 2011-12-12
/\z/
\P\Pa
0:

No match is expected. It's a bug I think.

Why do you expect no match? Your pattern is unanchored. It matches at
the end of the subject. (This can be confirmed by giving pcretest the
pattern /\z/+ to make it show what follows the match.) An anchored
pattern gives no match.

Philip


Incomplete string (pcre_exec with partial 'hard' option) can not match 'end of string' symbol.

--
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev

Reply via email to