Subject: Re: bug#16871: Acknowledgement (problems about matching newline (with -z))

From: Stephane Chazelas <[email-masked]>
Date: Tue, 25 Feb 2014 11:32:43 +0000

Also:

$ printf 'a\nb\0' | grep -z 'a$'
$ printf 'a\nb\0' | grep -zP 'a$'
a
b
$ printf 'a\nb\0' | grep -zxP a
a
b

Why use PCRE_MULTILINE here?