[pcre-dev] [Bug 669] pcrecpp:: QuoteMeta does not behave as …

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 669] pcrecpp:: QuoteMeta does not behave as expected when there are embedded null bytes
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #3 from Philip Hazel <ph10@???> 2008-02-15 09:19:18 ---
On Thu, 14 Feb 2008, Craig Silverstein wrote:

> It's not been a goal of QuoteMeta to behave exactly like perl's
> QuoteMeta (Philip: should it be?), so I have no problem special-casing
> our handling of NUL. It's also a much simpler diff (which I include
> below).
>
> Philip, what do you think?


I agree with you. Perl handles NULs in strings happily, I seem to
recall, so this is pretty Perl-compatible. I'll put that patch on in due
course. (Nothing seems urgent at the moment, and I've got other stuff to
do. :-)

Philip


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email