Stephane Chazelas wrote: > The doc has a confusing statement ... Same confusion in tests/pcre: Thanks, I installed the attached patch to fix those. > We can match a newline with grep -zP 'a\nb' (or '\x0a' or '\012' > or '[\n]'...) but not easily without -P. Same for NUL > characters. Yes, that's a downside of the POSIX notation, and it'd be nice to extend POSIX to allow easy matching for newlines and/or null bytes. I'll mark this bug report as a wishlist bug.