------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=587
Summary: Matching null characters
Product: PCRE
Version: 7.2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: bug
Priority: medium
Component: Code
AssignedTo: ph10@???
ReportedBy: joy@???
CC: pcre-dev@???
I'm trying to use regular expressions to match binary strings in addition to
ASCII strings.
This seems to work great until except, of course, in the case of the hex 0.
\x00
For example, trying to compile the regex "[\x00-\x20]" produces an error
because stops after the first bracket.
Since there was a length set for the subject of pcre_exec function, I had hoped
that all of the buffers were referenced by length and not nessessarily by a
null terminator.
Is there a way to make the compile function use length rather that null
terminator?
Any suggestions on the best way to accomplish this?
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email