Closed GoogleCodeExporter closed 9 years ago
I believe you are trying to use a string constant like "\x00\x01\x02\x03". That
will not work because it shows up in C++ as a C string constant, and C strings
are measured with strlen, which stops at the \x00. Instead, you can write
something like re2::StringPiece("\x00\x01\x02\x03", 4), and I think that will
work.
Original comment by rsc@swtch.com
on 14 Jul 2012 at 2:35
Original issue reported on code.google.com by
kino...@gmail.com
on 18 Jan 2012 at 1:18