On Fri, May 28, 2010 at 10:16:59AM -0600, karl williamson wrote: > I thought I would just silence the message; but it occurs to me that it > would be very unlikely for someone to want to match a NUL followed by > anything else; or is that my C-centric thinking? Anyone using regexes to pick apart a binary file format might use that. eg my Palm::Treo680MessagesDB but in that I consistently use \00 for a NUL, never \0. Seems to me that \08 should scream and shout, because if it's meant to match NUL followed by 8, then you should expect Pain if the programmer ever has to change it to match NUL followed by 7, or NUL followed by 40, or ... -- David Cantrell | http://www.cantrell.org.uk/david Never attribute to malice that which can be explained by stupidity -- Hanlon's Razor Stupidity maintained long enough is a form of malice -- Richard Bos's corollaryThread Previous | Thread Next