Re: [pcre-dev] Getting crash when searching binary data with…

Top Page
Delete this message
Author: Thomas Tempelmann
Date:  
To: pcre-dev
Subject: Re: [pcre-dev] Getting crash when searching binary data with case-insensitive option
I have uploaded a rather short binary file here:
http://files.tempel.org/tmp/pcre2_subject_sample.

If you use my sample code to search for "AWAVAUATSH", it won't find it with
PCRE2_MATCH_INVALID_UTF but will find it with the PCRE2_UTF option (no
crash in this small file, though).
So, whenever I use PCRE2_MATCH_INVALID_UTF, text won't be found at all in
binary files, it seems. That contradicts the docs and Philip's suggestion,
though.

What am I doing wrong?

Thomas