Hello fellow Monks,
Is it possible in a regular expression (or some other way) to match the null character? For an application here at work, I attempted to write a perl "record scrubber" that walks through a record and looks for Null bytes. Unfortunately, it does not match to \000 or \x00; that is to say, given a line like this:
HELLO\0\0GOODBYE
A C program would find the two nulls between Hello and Goodbye but perl apparently doesn't. Is there a way to do this? here is my code: