On 06/05/2012 03:35 PM, Paolo Bonzini wrote: > What if the regex matches \0?
I'm thinking to change the default behavior of grep, so that \0 is treated as if it ended a line (like newline) when reading binary files. This will be more useful in practice, not least because it fixes the denial-of-service problem. POSIX allows this.
