[pcre-dev] [Bug 2222] pcre2grep does not support searching f…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2222] pcre2grep does not support searching for \0 via -f, even though pcre2 itself supports this
https://bugs.exim.org/show_bug.cgi?id=2222

--- Comment #1 from Philip Hazel <ph10@???> ---
pcre2grep reads -f files (and also --include/--exclude files) using fgets()
which explains this behaviour. I am about to cut a Release Candidate for the
next PCRE2 release, and I think that changing this is too big to slip in at
this stage. (The code is inherited from pcregrep and PCRE1, which does not
support literal binary zeroes in patterns.) Once 10.31 is released, I will see
what can be done about this.

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